Using the 'Set_param' command to change the Number of Input ports of MinMax
2 ビュー (過去 30 日間)
古いコメントを表示
taamouch abdelhak
2019 年 2 月 4 日
コメント済み: taamouch abdelhak
2019 年 2 月 4 日
Bonjour tout le monde j'espère que vous allez très bien.
I want to change the number of input ports of MinMax block using the 'Set_Param' command, but Matlab response (MinMax block does not have a parameter named 'Number of input ports' ) i tried with the deferent name lik -Number of input- -Number of ports- but without results. i tried ether the get_param command. the same error
a=get_param('ess/MinMax','Number of input ports')
MinMax block does not have a parameter named 'Number of input ports'
>> a=get_param('ess/MinMax','Number of ports')
MinMax block does not have a parameter named 'Number of ports'
>> a=get_param('ess/MinMax','Number of input ports')
MinMax block does not have a parameter named 'Number of input ports'
>> a=get_param('ess/MinMax','Block parameters')
MinMax block does not have a parameter named 'Block parameters'
>> % How can i change the Number of input ports of MinMax using Set param
%Thank you
0 件のコメント
採用された回答
Fangjun Jiang
2019 年 2 月 4 日
The property name is 'Inputs'.
web(fullfile(docroot, 'simulink/slref/common-block-parameters.html'))
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!