MATLAB deploytool simulink Undefined function 'load_system'
问题 I am using a MATLAB m file code which loads a simulink file, runs it and evaluats it so many times inside a complicated parallel loop. It runs perfect at MATLAB environment. When compiling the code via deploytool command, installing it and running it from command line, I would have a difficult time. At the line where it is loading the model, mymodel= ... ; load_system(mymodel); I get the following error C:\Program Files\mymain\application>Warning: Name is nonexistent or not a directory: model