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 ;)

Réponses (1)

Steven Lord
Steven Lord le 15 Nov 2016

0 votes

Can you do this? Yes.
Should you do this? NO, please DO NOT do this.

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by