- Under the 'Modelling' bar, click on the 'Model Settings' in the toolstrip.
- Under the 'Configuration Paramters' dialog box, navigate to Solver>Simulation time.
- Set the Simulation Start time to 0.0 seconds. Apply the changes and re-run the model
When using 'c2000 microblockset', the values of the model are delayed in reception. How can this be resolved?
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1651911/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1651916/image.png)
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.)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1651921/image.png)
0 个评论
回答(1 个)
Raj
2024-4-4
Hi @동빈 김
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-
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-
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!