Info

此问题已关闭。 请重新打开它进行编辑或回答。

what is block arguments about handle meaing?

1 次查看(过去 30 天)
mr. wang
mr. wang 2017-3-23
关闭: MATLAB Answer Bot 2021-8-20
bb=get_param('test/Gain','handle')
when i run this program,it returns bb=9.0002,what does that mean?

回答(1 个)

Monika Jaskolka
Monika Jaskolka 2020-3-28
编辑:Monika Jaskolka 2020-3-28
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