problem creating accelerator mex file for simulink

5 次查看(过去 30 天)
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!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by