Info

此问题已关闭。 请重新打开它进行编辑或回答。

When to use numeric or string handles

1 次查看(过去 30 天)
Thomas Becker
Thomas Becker 2016-3-10
关闭: MATLAB Answer Bot 2021-8-20
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by