problem creating accelerator mex file for simulink

5 Ansichten (letzte 30 Tage)
Hs5555
Hs5555 am 11 Aug. 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!

Antworten (0)

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by