Table to variable (I have a full path name)

1 回表示 (過去 30 日間)
Vasiliki Thomopoulou
Vasiliki Thomopoulou 2020 年 12 月 17 日
コメント済み: Stephen23 2020 年 12 月 18 日
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
Stephen23 2020 年 12 月 18 日
  • Use FULLFILE rather than concatenating the pathname and filename strings.
  • Use READTABLE or XLSREAD rather than LOAD.

サインインしてコメントする。

回答 (1 件)

Eric Sofen
Eric Sofen 2020 年 12 月 18 日
If you want to read that spreadsheet into a MATLAB table, use readtable rather than load.

カテゴリ

Help Center および File ExchangeTables についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by