Info

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

When to use numeric or string handles

1 vue (au cours des 30 derniers jours)
Thomas Becker
Thomas Becker le 10 Mar 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello MATLAB/Simulink programmers,
I wonder when to use numeric handles and when to use string handles to Simulink blocks during programming MATLAB scripts/functions. I've been using numeric handles all the time, but actually I don't know why. I see one main disadvantage of numeric handles: they are not valid any more when the model is closed and reloaded. This might be annoying when debugging.
Are there any more advantages/disadvantages? Which kind of handles do you use? And when? And why? Are there any recommendations by MathWorks?
Many thanks in advance Thomas

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by