problem creating accelerator mex file for simulink

5 visualizaciones (últimos 30 días)
Hs5555
Hs5555 el 11 de Ag. de 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!

Respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by