When measuring function execution profile data in a PIL simulation (with a C2000 target), can the recorded data be limited to the last x seconds of the simulation?

I'm interessted in the execution time of some subsystems of a quite long simulation run. Can I set somewhere tell Simulink to skip some time before starting to save data?

답변 (1개)

Hi Thomas,
PIL is non-realtime so data is uploaded straight back to Simulink/MATLAB. If you stream data straight to SDI then it's stored out of process and won't hamper Simulink. You can filter the data back in MATLAB later. Please note the data is not logged on target, so there is no worries even for a long simulation run.
Regards,
Venkatesh C

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2018년 4월 28일

답변:

2018년 7월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by