Simulating a modell with x-values each second

1 visualización (últimos 30 días)
Orcun Kocak
Orcun Kocak el 4 de Sept. de 2022
Respondida: Ankit el 5 de Sept. de 2022
I need to simulate a simulink modell with 100-values each second for 20 seconds. How can i do this ?
should be something like this:
tend = 20;
dt = 1e-1;
sim('ZMSD_Modell_SS22.slx', (0:dt:tend))

Respuestas (1)

Ankit el 5 de Sept. de 2022
Refer to sim Help Page for more info about different way and properties you can set (write help sim in your MATLAB command window to know more)


Más información sobre Loops and Conditional Statements en Help Center y File Exchange.


Community Treasure Hunt

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

Start Hunting!

Translated by