How to distinguish Subsystem and Chart by comparing their block properties in MATLAB 2017b?
조회 수: 1(최근 30일)
표시 이전 댓글
zhichuan wang 2018년 8월 14일
댓글: zhichuan wang 2018년 11월 14일
- Firstly, due to the different block properties 'LibraryVersion' in MATLAB 2016a, I can distinguish them.
- Secondly, the chart property 'LibraryVersion' is set to null in MATLAB 2017b. Therefore, most of their properties are the same.
The question is how can I find the difference between Subsystem and Chart by using m scripts .
댓글 수: 0
Arunkumar M 2018년 11월 9일
You can use type property of the objects in simulink model. For subsystem, it will be Type: 'block' and for stateflow chart, it will be Type: 'Stateflow'
댓글 수: 1
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!