How to take a column of an excel spreadsheet and declare as a variable
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a selection of values from a column in excel which I would like to declare as a variable in MATLAB. What would be the best way to go about doing this?
0 comentarios
Respuestas (1)
Star Strider
el 13 de Feb. de 2016
For example:
A = xlsread(filename, 'B:B');
This assigns colunm ‘B’ in the Excel file to variable ‘A’.
0 comentarios
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!