Internal error calling rtw_optimization info

7 views (last 30 days)
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 Comments
Maheswara reddy
Maheswara reddy on 16 Dec 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 on 10 Nov 2017
I have also got same problem. I just change the model path... Now it's working fine. Don't know what's problem...?

Sign in to comment.

Answers (2)

Arun Kumar Misra
Arun Kumar Misra on 4 Oct 2018
save your data, exit the matlab, restart matlab, error disappears :)

Jake Gareau
Jake Gareau on 8 Feb 2024
For me this problem was resolved by deleting the slprj folders

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!