output to a variable name
Mostra commenti meno recenti
outputFile is a 1x2 cell that contains 2 string names ('apple' and 'peach')
I want to assign those names to the output of a file:
outputFile(1) = importdata(char(filename(1)))
I get the following error:
Error using subsindex Function 'subsindex' is not defined for values of class 'cell'.
How can I get it to do what I need if it can do it? Any suggestions would help?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!