Simulink not respecting the sampling time
11 ビュー (過去 30 日間)
古いコメントを表示
I have a Simulink model that have to acquire data from a device every 20 ms and then run this data through a neural network. I used a function call generator to call the acquisition every 20 ms but Simulink seem to not respect that timing.
What to do ?
2 件のコメント
Birdman
2018 年 6 月 6 日
How do you know that Simulink does not respect the sampling time? What do you observe?
回答 (1 件)
Mark McBroom
2018 年 6 月 8 日
Do you have Simulink connected directly to the device? Simulink is not a real-time program. It will run the simulation as fast as it can. If your model runs faster than real-time, you can slow it down to pseudo-real time by using the Simulation -> Pacing Options.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!