Changing the sampling time of the sine wave signal in simulink dynamically with respect to an external input?

1 visualizzazione (ultimi 30 giorni)
My application is to change the sampling time of the sine wave signal in simulink dynamically with respect to an external input. I am not able to vary the sampling rate dynamically is there any way i can do this??

Risposta accettata

Kaustubha Govind
Kaustubha Govind il 18 Set 2013
Modificato: Kaustubha Govind il 18 Set 2013
No, you currently cannot vary model sample-times dynamically at run-time. They are all locked down at compile-time, before simulation starts.
PS: Please consider submitting an enhancement request via MathWorks Tech Support along with a use-case to support your request.

Più risposte (1)

Vikram
Vikram il 18 Set 2013
Thanks , but i was trying out with the rate conversion block which has also not paid off.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by