Speeding up the simulation?

1 view (last 30 days)
Danijel Domazet
Danijel Domazet on 6 Oct 2020
Answered: Shubham Khatri on 9 Oct 2020
I have a Simulink model which takes audio file at input, and produces another audio file at output.
I am also running the model programmaticaly, however, it is still slow. Is there a way that I can speed the simulation in case it is run programatically?
The use case needs only model outputs, so nothing in between is needed.
  1 Comment
maiaL
maiaL on 6 Oct 2020
Did you explore acceleration modes?
https://www.mathworks.com/help/simulink/ug/how-the-acceleration-modes-work.html

Sign in to comment.

Answers (1)

Shubham Khatri
Shubham Khatri on 9 Oct 2020
To my understanding, you are trying to reduce the simulation time. There are three different types of simulation modes available in Simulink. By default, the normal mode is selected. To accelerate the simulations, please select Accelerator or rapid accelerator. You can locate the option in simulation tab, just below the stop time. For more information on how to use the above mentioned modes, please refer to this link

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by