Main Content
Start TLC coverage when generating code
Log coverage of TLC code during code generation
Model Configuration Pane: Code Generation
Description
The Start TLC coverage when generating code parameter instructs the code generator to log the number of times each line of TLC code executes and captures the information in a TLC execution report.
Settings
off
(default) | on
- On
Logs TLC coverage data.
- Off
Does not log TLC coverage data.
Tips
You can also generate the TLC execution report by entering the -dg
argument into the System target file field.
Recommended Settings
Application | Setting |
---|---|
Debugging | On |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: TLCCoverage |
Type: character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2006a