Control "Delay" block by setParam?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Felipe Michelin
am 27 Jun. 2015
Bearbeitet: Felipe Michelin
am 27 Jun. 2015
Hello!
I would like to know if it is possible set a value to the Time length parameter in delay block by a .m file, I was looking some time ago and I couldn't find!
Thank you!
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 27 Jun. 2015
set_param('untitled/Delay','DelayLength','2')
2 Kommentare
Azzi Abdelmalek
am 27 Jun. 2015
yes you can
v=2
set_param('untitled/Delay','DelayLength',num2str(v))
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing 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!