Table to variable (I have a full path name)

2 visualizaciones (últimos 30 días)
Vasiliki Thomopoulou
Vasiliki Thomopoulou el 17 de Dic. de 2020
Comentada: Stephen23 el 18 de Dic. de 2020
Hello guys! I have a question and I was hopping that you could enlighten me. So, I have a fullpathname for the file i want to load into Matlab. The file is a table. How can I save the table to a variable to work with?Thanks a lot!!!!!
  1 comentario
Stephen23
Stephen23 el 18 de Dic. de 2020
  • Use FULLFILE rather than concatenating the pathname and filename strings.
  • Use READTABLE or XLSREAD rather than LOAD.

Iniciar sesión para comentar.

Respuestas (1)

Eric Sofen
Eric Sofen el 18 de Dic. de 2020
If you want to read that spreadsheet into a MATLAB table, use readtable rather than load.

Categorías

Más información sobre Tables 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!

Translated by