Modify dynamically a sample time in Simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I work on simulink and I would like to know if it is possible to change during a simulation a sampletime of a block ?
I am using a function call subsystem, which is called by a function call generator. The generator is defined by a SampleTime. How could I change during the simulation the SampleTime of the generator ?
Thank you for your time !
0 Kommentare
Antworten (1)
Guy Rouleau
am 26 Mär. 2013
Sample time cannot change during simulation.
What you can do is set the sample time as the smallest possible rate you want to take and generate fcn-call at the desired rate.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!