Real-Time Code Execution Profiling -- how to understand the results?
조회 수: 1 (최근 30일)
이전 댓글 표시
I followed Real-Time Code Execution Profiling steps and recorded some data. How to understand this result, i.e. how to see if my application code is overflowing or not.
Output from executionProfile.timeline
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/576522/image.png)
Output from executionProfile.report
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/576527/image.png)
In my application code, I have several sampling times
- Discrete 1: 50.0000e-006 (period)
- Discrete 2: 100.0000e-006 (period)
- Discrete 3: 1.0000e-003 (period)
- Constant: Inf
- Hybrid: N/A
How to know if I need to increase sample time, modify the fundamental frequency, move the code from one sample time to another, remove the code, etc?
In the report I can see only 5e-5 sample time (ADC and filtering application code), but not 1e-4 (control) and 1e-3 (digital outputs and constants).
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Real-Time Simulation and Testing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!