Main Content

Max file log runs

Selects the number of file log runs to retain for the real-time application

Model Configuration Pane: Code Generation / Simulink Real-Time Options

Description

Selects the number of file log runs to retain for the real-time application when logs are stored on the target computer instead of uploaded to the development computer after each simulation run. The logs are stored if auto-import is disabled, or the target is not connected to the host at stop time.

Dependencies

The SLRTFileLogMaxRuns configuration parameter sets the initial value for the fileLogMaxRuns option when you build the real-time application.

Option: fileLogMaxRuns

Settings

1 | int

Default: 1

int

Select the number of file log runs to retain for the real-time application when logs are stored on the target computer instead of uploaded to the development computer after each simulation run.

Examples

expand all

  • To get the SLRTFileLogMaxRuns option value for real-time application object my_app that is loaded on target computer, type in the MATLAB Command Window:

    my_app = slrealtime.Application('slrt_ex_osc')
    app_object.Options.get.SLRTFileLogMaxRuns

Recommended Settings

ApplicationSetting

Debugging

1

Traceability

1

Efficiency

1

Safety precaution

1

Programmatic Use

Parameter: SLRTFileLogMaxRuns
Type: int
Value: int
Default: 1

Version History

Introduced in R2020b