import
Import file log data from target computer
Syntax
Description
import(
imports file log signal data from available simulation runs for the selected real-time
application.target_object
.FileLog,'app_name
')
For information about the availability of file logging data, see list
.
import(
imports file log signal data for the selected table of available simulation runs. To create
the table, use the target_object
.FileLog,run_info
)list
function.
import(
imports file log signal data for the selected simulation runs.target_object
.FileLog,run_ids
)
If a Simulink Real-Time model has File Log
blocks, when you load the real-time application on the target computer, file logging is
enabled. This default operation is the same as enabling file logging by using the command
enable
.
To control file logging with the Enable File
Log block, when you load the real-time application on the target computer, disable
file logging by using the command disable
.
When the development computer is connected to the target computer and the real-time application stops, the file log data is uploaded to the Simulation Data Inspector. For a standalone target computer that does file logging when not connected, after connecting the development and target computers, upload the file logging data for the application.
For more information about the file logging workflow, see Signal Logging Basics.
Note: When the Simulink® Real-Time™ imports file log data from the target computer and uploads the data to the Simulation Data Inspector, the data is deleted from the target computer. This data is deleted whether the data upload occurs when the real-time application stops for a connected target computer or when you use the import function for a standalone (disconnected) target computer. File log data for imported runs of the application is deleted.