Slowing Down Simulink

爷,独闯天下 提交于 2019-11-29 16:30:34

Yes, there are various utilities to slow down the execution of a Simulink model on the File Exchange. Here are a few:

I have a device that I sometimes drive with data from Simulink over a UDP connection. Here's the quick and dirty trick I use to make sure that simulation runs in real time so the device receives data at the correct rate:

Simply dropping in an audio device source and sink forces the model to run at real time because your audio device must. It doesn't have to interact with the rest of your model in any way.

It's not a solution you would use for any sort of final model, but it works great for quick one-off simulations.

These blocks come from the DSP toolkit, although there may be others that provide it too.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!