problem creating accelerator mex file for simulink

5 views (last 30 days)
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!

Answers (0)

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!