How to access one variable with SelectedVariableNames ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Jimmy Neutron
el 7 de Oct. de 2020
Respondida: Jimmy Neutron
el 4 de Nov. de 2020
I have a spreadsheet called 'dates.xlsx':
myData = spreadsheetDatastore('dates.xlsx');
myData.SelectedVariableNames = {'Birth', 'BirthYear'};
I want to access solely the 'Birth' specifically. Is there a universal way to do this or not? I do not want to write myData(1:end) to access the 'Birth', but I cannot find a better way to do this... Are there any other ways?
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Import and Export 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!