モデル内に含まれるMatlab Function ブロックの一覧を検出する方法はありますか?
Ältere Kommentare anzeigen
モデル内に含まれるMatlab Function ブロックの一覧を検出する方法を教えてください。
Akzeptierte Antwort
Weitere Antworten (1)
交感神経優位なあかべぇ
am 26 Jul. 2023
SubSystemのブロックパラメーターSFBlockTypeをfind_systemで検索することで、MATLAB Functionを検出できます。
find_system(bdroot, 'SFBlockType', 'MATLAB Function')
同様の方法で、下記Stateflowブロックも特定することができます。ブロック名とSFBlockTypeの値を記述します。
ブロック名 : SFBlockType
- Chart : Chart
- Truth Table : Truth Table
- State Transition Table : State Transition Table
- MATLAB Function : MATLAB Function
Kategorien
Mehr zu Simulink Function finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!