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!
Azzi Abdelmalek
Azzi Abdelmalek 2015 年 6 月 27 日
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