Alternatives to set_param and sim when starting a Simulink model from Matlab Script
Show older comments
Hello Community,
I am trying to start a Simulink model from a Matlab script. The script is exectuted in a Matlab session that does not have a display, because it is run on a computer cluster.
I cannot use the
set_param('sys', 'SimulationCommand', 'start')
command, as this does require a Matlab session with display.
I also cannot use the sim() command, as I need the script to jump to its next line right after the simulation started.
Are there any other alternatives that work like the set_param() command, but are applicable in Matlab sessions without a display?
Thanks for your help!
1 Comment
Arihant Sureka
on 3 Jan 2019
Answers (1)
mohammed elgamal
on 23 Apr 2020
0 votes
Hi, Benedikt Rauscher
Did you solve this problem ?
I have the same problem. If you have a solution, please tell me.
Regards,
Mohamed
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!