Table to variable (I have a full path name)

조회 수: 2 (최근 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 CenterFile Exchange에서 Tables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by