How to view execution profiling in SIL test?

1 回表示 (過去 30 日間)
Jichun Qu
Jichun Qu 2013 年 5 月 17 日
回答済み: Swastik Sarkar 2023 年 6 月 28 日
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!

回答 (1 件)

Swastik Sarkar
Swastik Sarkar 2023 年 6 月 28 日
There are 2 ways to open a report of a SIL execution profile
  1. 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
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

カテゴリ

Help Center および File ExchangeVerification についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by