You have found the correct approach for profiling code generated by Embedded Coder. Additional software licenses are not required. This link provides details. Note that if you want to collect execution time on a targer processor using Processor in the Loop (PIL) mode, you will need to write a small amount of code to define a timer on the embedded processor.
Profiling c-code generated from SIMULINK
2 次查看(过去 30 天)
显示 更早的评论
I would like to do profiling (measure execution time and possibly RAM and ROM usage) on the c code generated form my SIMULINK model by using the embedded coder.
From the information on Mathworks website I found that one can do this by configuring the Code generation < Verification pane, in the Configuration Parameters dialog box.
However, I cannot find any Verification pane in my Configuration Parameters dialog box.
I have a license for the embedded coder. Do I need any add-on (perhaps the Validation and Verification toolbox?) to be able to perform the c code profiling? If this is the case, is there any other way I can perform the c-code profiling using other tools in SIMULINK or MATLAB?
Thanks for your help, Ulrika
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!