- GUI Way: Using SIL/PIL Manager, when you execute a SIL Simulation a task profiling summary report is generated after the SIL Simulation is complete. However it is only a summary, you can click on the matlab icons in statistics to view more about it. You can read more about it from Configure and Run SIL Simulation
How to view execution profiling in SIL test?
1 回表示 (過去 30 日間)
古いコメントを表示
In Code Generation->SIL and PIL Verrification->Code Profiling, the check box Measure task execution time is checked. However, after SIL runs, I don't know how to view the plot or report of the model's execution time.
Could anyone provide an advice, where and how to configure the settings, so that I'm able to see it?
Thanks!
0 件のコメント
回答 (1 件)
Swastik Sarkar
2023 年 6 月 28 日
There are 2 ways to open a report of a SIL execution profile
2. Command-line way: Assuming the simulation output is exported to the workspace with a variable name "out", you can
run the following commands to view the execution profile report
coder.profile.show(out.executionProfile); % After that click on "Open Report" in the results toolbar
% Or you can also directly execute the following command to generate the
% report
report(out.executionProfile);
You can read more about the report from Code Execution Profiling Report
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Verification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!