when i want to modify the input number of certain component through script,error happens
1 回表示 (過去 30 日間)
古いコメントを表示
if i replace num with real num, like 17, it works, any one who knows why?

0 件のコメント
採用された回答
drummer
2023 年 3 月 24 日
I'm not familiar with this function, but as you declared num before, try to call it without ' '.
set_param('text/BC1', 'Inputs', num);
Cheers
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Schedule Model Components についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!