Speeding up the simulation?

1 visualizzazione (ultimi 30 giorni)
Danijel Domazet
Danijel Domazet il 6 Ott 2020
Risposto: Shubham Khatri il 9 Ott 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 Commento
maiaL
maiaL il 6 Ott 2020
Did you explore acceleration modes?
https://www.mathworks.com/help/simulink/ug/how-the-acceleration-modes-work.html

Accedi per commentare.

Risposte (1)

Shubham Khatri
Shubham Khatri il 9 Ott 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

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Tag

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by