Check whether Simulink is started
tf = isSimulinkStarted
example
tf = isSimulinkStarted returns whether Simulink® is started.
tf
collapse all
isSimulinkStarted
ans = logical 0
The returned value 0 indicates that Simulink is not started.
0
Start Simulink.
simulink
Confirm that Simulink is started.
ans = logical 1
The returned value 1 indicates that Simulink is started.
1
True or false result, returned as a 1 or 0 of data type logical.
logical
1 (true) — Simulink is started.
true
0 (false) — Simulink is not started.
false
When multiple files are specified, the function returns a logical array with one entry for each file.
bdIsLoaded | simulink | start_simulink
bdIsLoaded
start_simulink