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!

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 6월 27일

0 개 추천

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

댓글 수: 2

Felipe Michelin
Felipe Michelin 2015년 6월 27일
편집: Felipe Michelin 2015년 6월 27일
Azzi! It worked. Thank you so much!
yes you can
v=2
set_param('untitled/Delay','DelayLength',num2str(v))

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 General Applications에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by