Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

what is block arguments about handle meaing?

1 Ansicht (letzte 30 Tage)
mr. wang
mr. wang am 23 Mär. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
bb=get_param('test/Gain','handle')
when i run this program,it returns bb=9.0002,what does that mean?

Antworten (1)

Monika Jaskolka
Monika Jaskolka am 28 Mär. 2020
Bearbeitet: Monika Jaskolka am 28 Mär. 2020
Each block, line, annotation, etc. in a Simulink model has a unique numeric identifier. It's called a "handle". You can use the handle to refer to that specific block, for example:
set_param(bb, 'Gain', '2')

Community Treasure Hunt

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

Start Hunting!

Translated by