Main Content

File Log

Write signal data file log on target computer

Since R2020b

  • File Log block

Libraries:
Simulink Real-Time / Logging

Description

When you enable logging service, the File Log block logs the signal at its input port to the target computer file system.

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

Ports

Input

expand all

Provides the signal data input for the file log.

Parameters

expand all

The decimation parameter value selects decimation for the samples captured in the file log.

By using the File Log decimation functions, subsequent loads of the real-time application MLDATX file run on the target with the modified decimation value of the File Log block. These functions are:

For more information, see Tune Decimation for File Log Data Without Model Rebuild.

Programmatic Use

decimation

The input processing parameter value selects whether the logged signal data is processed and sent to the Simulation Data Inspector in sample or frame processing mode. For more information about sample-based data and frame-based data in the Simulation Data Inspector, see View Simulation Data in Simulation Data Inspector.

Programmatic Use

inputProcessing

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020b

expand all