Error calling generated sFunction - How to add dependencies?
3 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!