- Install and use Simulink Compiler: Only Simulink Compiler bundles the Simulink runtime and allows using "start_simulink" in deployed apps.
- Launch it via "webAppCompiler".
- Add your ".mlapp" containing "start_simulink" usage and Package the app, it will generate a ".ctf" that includes Simulink support.
- Deploy the ".ctf" file to MATLAB Web App Server: Copy it into the "apps" folder and restart or reload the server. The Simulink runtime components will now load properly on launch.
- https://www.mathworks.com/help/webappserver/ug/simulink-simulation-web-app.html
- https://www.mathworks.com/matlabcentral/answers/1791415-how-can-i-include-a-simulink-model-in-an-application-deployed-with-matlab-compiler
- https://www.mathworks.com/help/slcompiler/ug/deploy-a-simulation-with-simulink-compiler.html