matlab - How to optimize simulation time in Simulink -
i working on simulation model in simulink, using "nn predictive controller" module. trying display output of nn controller in scope 2.
as can see in picture have 2 signals workspace. both discrete signals (sampling frequency 360 hz) - both vectors of 3600 rows.
in nn predictive controller have trained neural network signals of same size , set sampling interval 0.1.
when run simulation runs approximately 10 hours. there way minimize simulation time without increasing sampling interval in nn controller? second question: why takes long?
if need additional inforation model please let me know.
thank you
use accelerator mode
or rapid accelerator mode
in sl. can switch mode in drop-down list normal
selected.
in accelerator mode
part of modell compiled. in rapid accelerator mode
additionally scopes deactivated. data evaluation need store workspace and/or file , analyse later.
see: http://de.mathworks.com/help/simulink/ug/how-the-acceleration-modes-work.html
Comments
Post a Comment