Enable File Log
Enable or disable file logging of signals on target computer
Simulink Real-Time / Logging
When the input port value is true, the Enable File Log block enables the file logging service on the target computer so that File Log blocks in the model start recording data. When the input port value is false, the block disables file logging on the target computer, and the File Log blocks do not record data.
If a model includes a Enable File
Log block, the
startRecording function and
function only control signal streaming, not File Log logging. In this case, the
AutoImportFileLog option does not import data into the Simulation Data Inspector
when you use the
function or click the Stop Recording button.
For more information about the file logging workflow, see Signal Logging and Streaming Basics.
E — Enable or disable file logging
Provides enable or disable control over File
Log block operation. When the enable input is triggered by a boolean signal
in the model, there are logs created on the target computer. Retention of these logs
depends on the
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2020b
File Log |