Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

what is block arguments about handle meaing?

2 vues (au cours des 30 derniers jours)
mr. wang
mr. wang le 23 Mar 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
bb=get_param('test/Gain','handle')
when i run this program,it returns bb=9.0002,what does that mean?

Réponses (1)

Monika Jaskolka
Monika Jaskolka le 28 Mar 2020
Modifié(e) : Monika Jaskolka le 28 Mar 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')

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by