Real-Time Workshop Pane: Debug

Debug Tab Overview

Select build process and Target Language Compiler (TLC) process options.

See Also

Troubleshooting the Build Process

Verbose build

Display code generation progress.

Settings

Default: on

On

The MATLAB® Command Window displays progress information indicating code generation stages and compiler output during code generation.

Off

Does not display progress information.

Command-Line Information

Parameter: RTWVerbose
Type: string
Value: 'on' | 'off'
Default: 'on'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionOn

Retain .rtw file

Specify model.rtw file retention.

Settings

Default: off

On

Retains the model.rtw file in the current build directory. This parameter is useful if you are modifying the target files and need to look at the file.

Off

Deletes the model.rtw from the build directory at the end of the build process.

Command-Line Information

Parameter: RetainRTWFile
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Profile TLC

Profile the execution time of TLC files.

Settings

Default: off

On

The TLC profiler analyzes the performance of TLC code executed during code generation, and generates an HTML report.

Off

Does not profile the performance.

Command-Line Information

Parameter: ProfileTLC
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Start TLC debugger when generating code

Specify use of the TLC debugger

Settings

Default: off

On

The TLC debugger starts during code generation.

Off

Does not start the TLC debugger.

Tips

Command-Line Information

Parameter: TLCDebug
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Start TLC coverage when generating code

Generate the TLC execution report.

Settings

Default: off

On

Generates .log files containing the number of times each line of TLC code is executed during code generation.

Off

Does not generate a report.

Tip

You can also generate the TLC execution report by entering the -dg argument into the System target file field.

Command-Line Information

Parameter: TLCCoverage
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Enable TLC assertion

Produce the TLC stack trace

Settings

Default: off

On

The build process halts if any user-supplied TLC file contains an %assert directive that evaluates to FALSE.

Off

The build process ignores TLC assertion code.

Command-Line Information

Parameter: TLCAssert
Type: string
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionOn

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS