필터 지우기
필터 지우기

Loading data from Excel file

조회 수: 3 (최근 30일)
Tino
Tino 2019년 5월 1일
댓글: Guillaume 2019년 5월 1일
Hello
Please can anyone assist me on how to load data from excel file using the function load
Thanks in advance
Tino
  댓글 수: 1
Guillaume
Guillaume 2019년 5월 1일
You cannot use the function load to read excel file, and it's puzzling why you think you could. load only works for loading mat files (and a few types of text files that are better read with other functions).
See KSSV's answer for which functions to use.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2019년 5월 1일
The only kind of "excel file" that you can use with load() is a .csv file. In order to use a .csv file with load(), it must be purely numeric with no headers, and with no text, and with no missing entries.
.xls and .xlsx files can never be used with load(). .csv files with missing entries or with any text anywhere cannot be used with load(). Also, .csv files that use comma as the decimal separator will not be interpreted correctly by load() if they manage to load at all.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by