Main Content

isRecording

Returns true if the application running on the target is logging signal data

Description

example

recordStatus = isRecording(target_object) returns true if the application running on the target is logging signals in the Simulation Data Inspector or File Log service is running. Otherwise, isRecording returns false.

For more information about the file logging workflow, see Signal Logging Basics.

Examples

collapse all

Use the isRecording function to get target computer recording status.

myRecord = isRecording(tg)
myRecord =

  logical

   0

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Output Arguments

collapse all

The recordStatus indicates whether the target is logging signals in the Simulation Data Inspector or File Log service is running

Version History

Introduced in R2022a