Info

This question is closed. Reopen it to edit or answer.

When to use numeric or string handles

1 view (last 30 days)
Thomas Becker
Thomas Becker on 10 Mar 2016
Closed: MATLAB Answer Bot on 20 Aug 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

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!