Table to variable (I have a full path name)
显示 更早的评论
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 个评论
Stephen23
2020-12-18
- Use FULLFILE rather than concatenating the pathname and filename strings.
- Use READTABLE or XLSREAD rather than LOAD.
回答(1 个)
Eric Sofen
2020-12-18
0 个投票
If you want to read that spreadsheet into a MATLAB table, use readtable rather than load.
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!