How do I find out what type of block a Simulink block is?
75 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael Hodgson
am 7 Okt. 2021
Kommentiert: Michael Hodgson
am 8 Okt. 2021
For an assignment, the lecturer provided a sim. I know what some of the blocks are; how can I find out what the other blocks are? In other words, what type they are?
0 Kommentare
Akzeptierte Antwort
Paul
am 8 Okt. 2021
Right click on the block. In the menu that pop-up menu, the identifier within the parentheses next to Block Parameters is the type of the block.
Or, click on the block to highlight it, and then at the the command line:
get_param(gcb,'BlockType')
Unfortunately, and this is annoying, it's not straightforward to find that block in the Simulink Libray Browser, at least in my version of Simulink. I don't know why there isn't a way to do that, similar to the Libray Link option for library blocks. Oh well. If you need to find it, you can right click on the block, click Help, and the doc page contents shows which library contains that block.
Weitere Antworten (1)
Fangjun Jiang
am 7 Okt. 2021
What is a "sim"? If you have a Simulink model, double click the block. The block type is usually shown at the dialog window. Click "Help" button will provide you with the full document.
Siehe auch
Kategorien
Mehr zu Simulink Functions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!