Info
此问题已关闭。 请重新打开它进行编辑或回答。
what is block arguments about handle meaing?
2 次查看(过去 30 天)
显示 更早的评论
bb=get_param('test/Gain','handle')
when i run this program,it returns bb=9.0002,what does that mean?
0 个评论
回答(1 个)
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')
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!