problem creating accelerator mex file for simulink

5 visualizzazioni (ultimi 30 giorni)
Hs5555
Hs5555 il 11 Ago 2019
Im trying to run my simulink model with accelerator and I get the following errors:
Problem creating accelerator mex file for model caused by:
error LNK2019:unresolved external symbol "void __cdecl rt_InitInfAndNaN(unsigned __int64)" (?rt_InitInfAndNaN@@YAX_K@Z) referenced in function "void __cdecl mdlInitializeSizes(struct SimStruct_tag *)" (? mdlInitializeSizes@@YAXPEAUSimStruct_tag@@@Z)
error LNK2019:unresolved external symbol "double rtInf" (?rtInf@@3NA) referenced in function "void __cdecl mdlOutputs(struct SimStruct_tag *,int)" (? mdlOutputs@@YAXPEAUSimStruct_tag@@H@Z)
I would appriciate any help to solve this issue.
Thanks!

Risposte (0)

Categorie

Scopri di più su Write C Functions Callable from MATLAB (MEX Files) in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by