モデル内に含まれるMatlab Function ブロックの一覧を検出する方法はありますか?
이전 댓글 표시
モデル内に含まれるMatlab Function ブロックの一覧を検出する方法を教えてください。
채택된 답변
추가 답변 (1개)
交感神経優位なあかべぇ
2023년 7월 26일
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
카테고리
도움말 센터 및 File Exchange에서 Simulink Function에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!