Main Content


Stops signal data live streaming and File Log logging



stopRecording(target_object) disables logging in the application and closes the run in the Simulation Data Inspector. The function disables the File Log logging, imports the File Log data into the Simulation Data Inspector in the current run, exports the data to base workspace based on the flag 'ExportToBaseWorkspace', and stops live streaming.

The stopRecording function operation responds to the setting of the AutoImportFileLog option. The File Log data from the target is imported if the AutoImportFileLog flag option is true when you use the stopRecording function.

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


collapse all

Use the stopRecording function to stop recording on the target computer.

tg = slrealtime;

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Version History

Introduced in R2022a