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!

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 27 Juin 2015

0 votes

set_param('untitled/Delay','DelayLength','2')

2 commentaires

Felipe Michelin
Felipe Michelin le 27 Juin 2015
Modifié(e) : Felipe Michelin le 27 Juin 2015
Azzi! It worked. Thank you so much!
yes you can
v=2
set_param('untitled/Delay','DelayLength',num2str(v))

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by