How to Solve: Embedded MATLAB Interface Error: Error calling generated SFunction, elec_kers_sfun
Show older comments
Hello.
Embedded MATLAB Interface Error: Error calling generated SFunction, elec_kers_sfun.
I open the kinetic energy recovery system model that I find in Matlab, and then the above error exists.
How can I solve it? Thanks
Best regards, Tommy Lee
6 Comments
Kaustubha Govind
on 6 Mar 2013
Edited: Kaustubha Govind
on 6 Mar 2013
Could you try deleting elec_kers_sfun.mexa64 (or some platform-specific extension start with mex) and the 'slprj' directory and rerun the model? Alternatively, you can rename the model with different name and try running it. I am wondering if there is something with the auto-generated MEX-file elec_kers_sfun that is on your path.
Tommy
on 7 Mar 2013
Kaustubha Govind
on 7 Mar 2013
What if you disable the Enable debugging/animation option on the Simulation Target pane of the Configuration Parameters window and try?
Tommy
on 8 Mar 2013
Tommy
on 11 Mar 2013
Kaustubha Govind
on 11 Mar 2013
Tommy: Could you try reporting this to MathWorks Tech Support and see if this is a known issue? Thanks!
Answers (0)
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!