Filter löschen
Filter löschen

Different variable names in different runs of a script

2 Ansichten (letzte 30 Tage)
Archit
Archit am 17 Mär. 2013
Is it possible to get different variable names in different runs of a script.
Eg.
lets say we have following script
for i=1:10
j[i]=1
end
i want that when i run this script different times i get different variable names like i_0, j_0 for first run, i_1,j_1 for second run and so on

Antworten (1)

Walter Roberson
Walter Roberson am 17 Mär. 2013

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by