- Open the required codegen compatible model
- Set simulation mode to Rapid Accelerator
- set_param(bdroot,'TLCDebug','on')
- set_param(bdroot,'TLCCoverage','on')
- Start Codegen
- On command window debugging session will start type 'continue' to continue
- In codegen folder (eg model_ert_rtw) you will see .log file for each of the executed tlc and execution count for each tlc line
S-function TLC coverage for Rapid Accelerator
2 ビュー (過去 30 日間)
古いコメントを表示
A TLC file generated by the Legacy Code Tool contains separate sections for Rapid Accelerator and for Simulink Coder. The TLC Coverage feature allows me to measure the coverage of the TLC sections for the Simulink Coder but not the sections for the Rapid Accelerator.
How can I measure the TLC coverage for the Rapid Accelerator?
0 件のコメント
回答 (1 件)
Sreeranjani Sekar
2021 年 11 月 9 日
Follow the steps to have tlc coverage for model simulated in rapid accelerator mode.
参考
カテゴリ
Help Center および File Exchange で Target Language Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!