Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

When to use numeric or string handles

1 visualizzazione (ultimi 30 giorni)
Thomas Becker
Thomas Becker il 10 Mar 2016
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (0)

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by