Profile Matlab System block in Simulink
조회 수: 2(최근 30일)
표시 이전 댓글
I have a Simulink model with a Matlab system block in, and would like to understand which code in the block is slowing the simulation down. when I run the profiler I get a breakdown that shows me the System Block is taking most of the time, but it doesn't show me where in the block the slowdown occurs. Is there a way to get such a breakdown similar to what you get when you run the profiler in Matlab? Thanks.
댓글 수: 0
답변(1개)
Vimal Rathod
2021년 6월 18일
편집: Vimal Rathod
2021년 6월 18일
Hello,
Like you said, the Simulink profiler would not show MATLAB line-by-line profiling results - rather it will show the time spent on the System block (as a whole).
To understand the performance of individual lines of the System object MATLAB code, we should use the MATLAB profiler as of now there is no other workaround.
댓글 수: 0
참고 항목
범주
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!