Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

what is block arguments about handle meaing?

1 visualización (últimos 30 días)
mr. wang
mr. wang el 23 de Mzo. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
bb=get_param('test/Gain','handle')
when i run this program,it returns bb=9.0002,what does that mean?

Respuestas (1)

Monika Jaskolka
Monika Jaskolka el 28 de Mzo. de 2020
Editada: Monika Jaskolka el 28 de Mzo. de 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