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

Answers (1)

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

Categories

Asked:

on 15 Nov 2016

Answered:

on 15 Nov 2016

Community Treasure Hunt

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

Start Hunting!