When using 'c2000 microblockset', the values ​​of the model are delayed in reception. How can this be resolved?

조회 수: 3 (최근 30일)
I have currently implemented as follows, using F28379D. In order to view the data in real-time, I used 'Monitor & Tune' to confirm the results via a scope. However, as shown in the second picture, the measurements start from 4 seconds instead of 0 seconds. How can I view the results from 0 seconds?
(I separately defined the sampling time as a variable, and used a value of Tsamp = 0.0001.)

답변 (1개)

Raj
Raj 2024년 4월 4일
To ensure your Simulation starts from time 0 seconds instead of 4 seconds, you need to set the Simulaton start time appropiately. Follow the following steps for doing so-
  1. Under the 'Modelling' bar, click on the 'Model Settings' in the toolstrip.
  2. Under the 'Configuration Paramters' dialog box, navigate to Solver>Simulation time.
  3. Set the Simulation Start time to 0.0 seconds. Apply the changes and re-run the model
I hope following the above mentioned steps helps to resolve the issue and you are able to procced further!
You can additionally refer to the following documentation link for better understanding-

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by