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 comentarios

Sushovan Basu
Sushovan Basu el 23 de Feb. de 2016
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.
Maheswara reddy
Maheswara reddy el 16 de Dic. de 2016
i have also got same issue , what i did . i just changes in my data load file ... after that this error went.
Harinarayana Reddy
Harinarayana Reddy el 10 de Nov. de 2017
I have also got same problem. I just change the model path... Now it's working fine. Don't know what's problem...?

Iniciar sesión para comentar.

Respuestas (2)

Arun Kumar Misra
Arun Kumar Misra el 4 de Oct. de 2018

0 votos

save your data, exit the matlab, restart matlab, error disappears :)
Jake Gareau
Jake Gareau el 8 de Feb. de 2024

0 votos

For me this problem was resolved by deleting the slprj folders

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 7 de Oct. de 2014

Comentada:

el 1 de Sept. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by