auto variable name dif(i is in loop)

Hi Is there any way to set variable name automatically like this: d1f d2f d3f . . . dnum2str(i)f doesn't work as I expected ;)

回答(1 个)

Steven Lord
Steven Lord 2016-11-15
Can you do this? Yes.
Should you do this? NO, please DO NOT do this.

类别

在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by