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개)
Mark McBroom
2017년 12월 10일
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.
댓글 수: 0
참고 항목
카테고리
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!