Contenido principal

slrealtime model_status

(Linux -based RTOS) Display status of real-time application on target computer

Since R2026a

Description

slrealtime model_status displays the status of the real-time application on the target computer. The possible reported status states are:

  • LOADED — The real-time application is loaded on the target computer.

  • INITIALIZING — The real-time application is initializing I/O on the target computer.

  • RUNNING — The real-time application is running on the target computer.

  • DONE — The real-time application has stopped on the target computer.

  • MODEL_ERROR — An error has occurred in the real-time application on the target computer.

  • MODEL_DEFAULT — An error has occurred in the real-time application on the target computer.

For more information about using this and other command-line interface commands, see Target Computer Command-Line Interface.

The slrealtime model_status command that you can run from the target computer command line corresponds to the status function that you can run from the MATLAB® Command Window on the development computer.

example

Examples

collapse all

From the target computer command line, display status of the real-time application slrt_ex_osc_inport that was previously installed, loaded, and run on the target computer.

To display the status of the real-time application on the target computer, you can use this command:

slrt@speedgoat-target:~$ slrealtime model_status
{"application":"slrt_ex_osc_inport","modelName":"slrt_ex_osc_inport","state":"DONE","stopTime":"Infinity","logLevel":"info","pollingThreshold":0.0001,"fileLogMaxRuns":1}

Version History

Introduced in R2026a