Log level
Selects filtering level for system log messages
Since R2020b
Model Configuration Pane: Code Generation / Simulink Real-Time Options
Description
Selects filtering level that limits Simulink®
Real-Time™ target computer system messages that appear in the system log. To open the
viewer tab in Simulink Real-Time Explorer and view the system log from the target computer
tg
, in the MATLAB Command Window, type:
slrtExplorer
For more information, see slrtExplorer
.
Dependencies
The SLRTLogLevel
configuration parameter sets the initial value for the
loglevel
option when you build the real-time application.
For more information, see Application
object.
Option:
loglevel
|
Settings
info
| trace
| debug
| warning
| error
| fatal
Default:
info
-
info
Select to include all system messages in the system log.
-
trace
Select to include all system memory trace messages in the system log.
-
debug
Select to include all system debug messages in the system log.
-
warning
Select to include all system warning messages in the system log.
-
error
Select to include all system error messages in the system log.
-
fatal
Select to include all system fatal messages in the system log.
Recommended Settings
Application | Setting |
---|---|
Debugging |
|
Traceability |
|
Efficiency |
|
Safety precaution |
|
Programmatic Use
Parameter:
SLRTLogLevel
|
Type: character vector |
Value:
'info' | 'trace' | 'debug' |
'warning' | 'error' |
'fatal' |
Default:
'info'
|
Version History
Introduced in R2020b