Doubt with the simulink units.
Ältere Kommentare anzeigen
I have made a model with time in hours. The simulation in simulink (the scope) shows it in hours or in seconds? Thank you so much.
1 Kommentar
Carlos
am 21 Feb. 2016
Antworten (1)
Ralf
am 19 Feb. 2016
0 Stimmen
It shows the time in seconds.
2 Kommentare
Carlos
am 19 Feb. 2016
Ralf
am 18 Mär. 2016
Simulink assumes that one simulation step equals one second. If you model your system using time constants in hours, one Simulink time step equals one hour. If you set for example Simulation end time to 10, it would mean 10 hours.
That would work as long as you are using Simulink alone and as long as you model all time constants in Units of hours. But in case you use one of the physical modeling toolboxes like Simscape, Simulink assumes that one step equals one second. In case you want to simulate your model in conjunction with these physical modeling toolboxes, you'll need to rewrite your model to a timescale in seconds.
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!