Simulinkモデルのブロック数と入出力数の一括表示方法
62 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
大貴 渡邉
el 27 de Oct. de 2021
Editada: Toshinobu Shintai
el 27 de Oct. de 2021
Simulinkモデル(参照モデルを含む)のブロック数と入出力数を一括で出力し、
それをexcel等の別ファイルで保存する方法はありますでしょうか。
0 comentarios
Respuesta aceptada
Toshinobu Shintai
el 27 de Oct. de 2021
Editada: Toshinobu Shintai
el 27 de Oct. de 2021
・Simulinkモデル内のブロック数に関して
・入出力数に関して
"find_system"で見つけたブロックに対して、"get_param"というコマンドでポートの種類とその数を知ることができます。コマンドとしては、例えば以下のような形です。
port_h = get_param('model_name/block_name', 'PortHandles');
・excel等の別ファイルで保存する方法について
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre プログラムによるモデル編集 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!