Simulink simulation too slow
Ältere Kommentare anzeigen
Good morning,
I am trying to run a simulink file that is devided into two sections, the first contains switches and PV systems (5 systems), and the second is the control that i get from a interpreted function. I ran each section alone and the speed is somehow acceptable, but once I run the whole simulation toghether it takes tooo much time.
What can I do to increase the speed of this simulation.
Thanks in advance.
Antworten (1)
Jesús Zambrano
am 22 Mai 2021
0 Stimmen
Hey Fadi,
There are several reasons that can slow down your simulation. Here I include few possible causes:
Hope it helps!
2 Kommentare
fadi awar
am 22 Mai 2021
Jesús Zambrano
am 22 Mai 2021
Interpreted Matlab Function block is slow because it calls the MATLAB parser during each integration step. Consider using built-in blocks (such as the Math Function block) instead. Here, I include a section in documentation showing how to use it with some example:
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!