Simulinkモデルのブロック数と入出力数の一括表示方法
62 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
大貴 渡邉
le 27 Oct 2021
Modifié(e) : Toshinobu Shintai
le 27 Oct 2021
Simulinkモデル(参照モデルを含む)のブロック数と入出力数を一括で出力し、
それをexcel等の別ファイルで保存する方法はありますでしょうか。
0 commentaires
Réponse acceptée
Toshinobu Shintai
le 27 Oct 2021
Modifié(e) : Toshinobu Shintai
le 27 Oct 2021
・Simulinkモデル内のブロック数に関して
・入出力数に関して
"find_system"で見つけたブロックに対して、"get_param"というコマンドでポートの種類とその数を知ることができます。コマンドとしては、例えば以下のような形です。
port_h = get_param('model_name/block_name', 'PortHandles');
・excel等の別ファイルで保存する方法について
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur プログラムによるモデル編集 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!