Error calling generated sFunction - How to add dependencies?

3 Ansichten (letzte 30 Tage)
Mohamed
Mohamed am 16 Jul. 2014
Hi, I have a Simulink model which was compiling successfully recently, I'm suddenly getting errors saying my mex-file is invalid:
Error calling generated SFunction, Workflow_Simulink_Model_sfun. Invalid MEX-file 'C:\Users\mm14\Documents\MATLAB\Workflow_Simulink_Model_sfun.mexw64': C:\Users\mm14\Documents\MATLAB\Workflow_Simulink_Model_sfun.mexw64 is not a valid Win32 application.
Here's what I tried to do: -Deleted the splrj folder and the _sfun.mexw64 file so that they are regenerated when the model tries to compile again. -Installed dependancy walker and identified the follow dependencies are missing: SF_RUNTIME.dll LIBMX.dll LIBMEX.dll LIBUT.dll LIBMWMATHUTIL.dll
I dont know what to do now that I know which dependencies are missing. This is a relatively new subject for me. How can I solve this? Thanks

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by