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)?

Antworten (1)

Fangjun Jiang
Fangjun Jiang am 20 Mär. 2020

0 Stimmen

Advanced, then select BlockType, and set value

4 Kommentare

Armin Mueller
Armin Mueller am 20 Mär. 2020
Bearbeitet: Armin Mueller am 20 Mär. 2020
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')

Melden Sie sich an, um zu kommentieren.

Produkte

Tags

Gefragt:

am 20 Mär. 2020

Kommentiert:

am 24 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by