Setting Simulink Time Step from an external File
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi guys
Is there a way to set the simulation time step in Simulink to match the time signals (variable sampling) present in an external file. So if this external file is loaded into the Matlab workspace and called 'Time', I can set the Simultaion start and stop time (under configuration parameters) to be Time(1) and Time(end), but how can i simulate my model at the exact same instances of time as present in the file 'Time'.
Thanks Saurabh
0 comentarios
Respuestas (1)
Azzi Abdelmalek
el 4 de Jun. de 2013
Editada: Azzi Abdelmalek
el 4 de Jun. de 2013
set_param('untitled','Start Time','100')
set_param('untitled','Stop Time','1000')
Ver también
Categorías
Más información sobre Prepare Model Inputs and Outputs 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!