- Use FULLFILE rather than concatenating the pathname and filename strings.
- Use READTABLE or XLSREAD rather than LOAD.
Table to variable (I have a full path name)
3 views (last 30 days)
Show older comments
Vasiliki Thomopoulou on 17 Dec 2020
Commented: Stephen23 on 18 Dec 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!!!!!
Stephen23 on 18 Dec 2020
Eric Sofen on 18 Dec 2020
If you want to read that spreadsheet into a MATLAB table, use readtable rather than load.
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!