Stateflowで別ファイルのモデルを利用可能か
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MATLABにおいて別のファイルを関数として利用する場合、例えば
function output = func_example(a)
output = a + 1;
end
と記述された関数ファイル (func_example.m) を作成し、
val = func_example(1)
などとスクリプトファイル (main_example.m) 内で記述する事で利用出来ますが、Stateflowにおいても別のslxファイルのモデルを関数として利用する事は可能でしょうか。ご助言頂けると幸いです。
0 Kommentare
Akzeptierte Antwort
Shoumei
am 4 Mär. 2019
はい、可能です。
SimulinkベースのステートをStateflowチャートの中に入れて、さらにそのSimulinkモデルの中にモデル参照ブロックを置けば、別Simulinkモデルを呼び出して使用することが可能です。
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!