How can I find specified Block Types in Simulink ?

How can I find specified Block Types in Simulink like "Selector" via the Finder (STRG+F)?

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2020년 3월 20일

0 개 추천

Advanced, then select BlockType, and set value

댓글 수: 4

Armin Mueller
Armin Mueller 2020년 3월 20일
편집: Armin Mueller 2020년 3월 20일
Thank You for the fast answer. But that doesn't seem to work.
The value for "BlockType" should be "BusSelector", as is what you get when you run get_param(ABusSelectorBlock,'BlockType')
But I'm not searching for the 'BusSelector' Block. It's the 'Selector' Block I'm looking for. At least in the Library Browser these are different blocks.
Single click that block in your model and run this in Command Window to get the exact value for block type
get_param(gcb,'BlockType')

댓글을 달려면 로그인하십시오.

카테고리

제품

태그

질문:

2020년 3월 20일

댓글:

2020년 3월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by