When the enumeration of the Excel cell with the name: CalculationFree, I want to use this cell as a variable in Matlab:
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
When the enumeration of the Excel cell with the name: CalculationFree
I want to use this cell as a variable in Matlab:
A=1;
Forest'CalculationFree'=A;
Forest'CalculationFree'=1
or
A=1;
CalculationFree'=A;
CalculationFree'=1
I do not know, How to convert string for variable in Matlab.
Thank you for answer
2 Kommentare
Antworten (1)
Stephen23
am 5 Feb. 2016
Bearbeitet: Stephen23
am 25 Jun. 2019
2 Kommentare
Stephen23
am 10 Feb. 2016
My pleasure. It really is a bad idea to import your data into lots of dynamically defined variables. Just import the data into one variable (a cell or structure) and this will make your code simpler, faster, and more robust.
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!