Error calling generated sFunction - How to add dependencies?

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by