Simulinkモデルのブロック数と入出力数の一括表示方法
62 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
大貴 渡邉
il 27 Ott 2021
Modificato: Toshinobu Shintai
il 27 Ott 2021
Simulinkモデル(参照モデルを含む)のブロック数と入出力数を一括で出力し、
それをexcel等の別ファイルで保存する方法はありますでしょうか。
0 Commenti
Risposta accettata
Toshinobu Shintai
il 27 Ott 2021
Modificato: Toshinobu Shintai
il 27 Ott 2021
・Simulinkモデル内のブロック数に関して
・入出力数に関して
"find_system"で見つけたブロックに対して、"get_param"というコマンドでポートの種類とその数を知ることができます。コマンドとしては、例えば以下のような形です。
port_h = get_param('model_name/block_name', 'PortHandles');
・excel等の別ファイルで保存する方法について
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su プログラムによるモデル編集 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!