Main Content

isSimulinkStarted

Check whether Simulink is started

Since R2020b

Description

tf = isSimulinkStarted returns whether Simulink® is started.

example

Examples

collapse all

isSimulinkStarted
ans =

  logical

   0

The returned value 0 indicates that Simulink is not started.

Start Simulink.

simulink

Confirm that Simulink is started.

isSimulinkStarted
ans =

  logical

   1

The returned value 1 indicates that Simulink is started.

Output Arguments

collapse all

True or false result, returned as a 1 or 0 of data type logical.

  • 1 (true) — Simulink is started.

  • 0 (false) — Simulink is not started.

Version History

Introduced in R2020b