Control "Delay" block by setParam?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Felipe Michelin
le 27 Juin 2015
Modifié(e) : Felipe Michelin
le 27 Juin 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 commentaires
Réponse acceptée
Azzi Abdelmalek
le 27 Juin 2015
set_param('untitled/Delay','DelayLength','2')
2 commentaires
Azzi Abdelmalek
le 27 Juin 2015
yes you can
v=2
set_param('untitled/Delay','DelayLength',num2str(v))
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Sources dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!