Control "Delay" block by setParam?

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!

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 27 de Jun. de 2015
set_param('untitled/Delay','DelayLength','2')

2 comentarios

Felipe Michelin
Felipe Michelin el 27 de Jun. de 2015
Editada: Felipe Michelin el 27 de Jun. de 2015
Azzi! It worked. Thank you so much!
yes you can
v=2
set_param('untitled/Delay','DelayLength',num2str(v))

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 27 de Jun. de 2015

Editada:

el 27 de Jun. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by