Error calling generated sFunction - How to add dependencies?

3 vues (au cours des 30 derniers jours)
Mohamed
Mohamed le 16 Juil 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

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by