Problem with Fixed time step in simulink
2 次查看(过去 30 天)
显示 更早的评论
When I define a fixed time-step in simulink configuration, and run the simulation, the output has a time-step 10 times more than what I have defined.
For example: defined time-step=0.01 , duration = 20 sec, -----> output data from simulink have 200 data. (It seems that simulink is considered 0.1 instead of 0.01).
Does any body knows why?
2 个评论
Aquatris
2018-9-18
Do you by any chance have rate transition block or have a block with a sampling time 0.1 (you can have blocks running in different sampling times than the simulation time step)?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!