Alternatives to set_param and sim when starting a Simulink model from Matlab Script

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!

Answers (1)

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

Products

Release

R2018b

Asked:

on 2 Jan 2019

Answered:

on 23 Apr 2020

Community Treasure Hunt

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

Start Hunting!