Internal error calling rtw_optimization info

When I try to generate code for a Simulink project I get this error:
Error calling generated SFunction, KalmanInTriplicate_sfun.
Unexpected Standard exception from MEX file.
What() is:Stateflow Internal Error:
Internal error calling rtw_optimization info.
Does anyone know what this means? It is very vague to me.
Is there a way to fix the error?

3 个评论

Hi Fred, Were you able to get any resolution on the above issue. I am getting a similar kind of error during code generation of my Simulink project.
Any help on this is appreciated. Thanks..
Regards.
i have also got same issue , what i did . i just changes in my data load file ... after that this error went.
I have also got same problem. I just change the model path... Now it's working fine. Don't know what's problem...?

请先登录,再进行评论。

回答(2 个)

save your data, exit the matlab, restart matlab, error disappears :)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

产品

提问:

2014-10-7

Community Treasure Hunt

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

Start Hunting!

Translated by