load name im array
Ältere Kommentare anzeigen
Hello,
i have an issuse according to the load function.
load 'f(1)' % searches for a file called f(1)
what i want:
load the file named like the first entry in variable f
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
KSSV
am 10 Jul. 2017
Hoping your f is a cell array of names of the files in the folder..you may use.
load f{1}
1 Kommentar
Walter Roberson
am 10 Jul. 2017
No, that is equivalent of load('f{1}')
Kategorien
Mehr zu Whos finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!