Trouble reading a .csv document in matlab

1 回表示 (過去 30 日間)
Maddison Wagner
Maddison Wagner 2018 年 10 月 28 日
回答済み: Image Analyst 2018 年 10 月 28 日
I am having trouble opening a .csv file in matlab on my MacBook. The file is saved in .csv format, however when I attempt to run my code I get the response that the file format is not recognized. The Excel I use is 2011 and matlab is the most recent. I am using [NUM,TXT,RAW] = xlsread(fullfile(fpath,fname));
I have the file opened in matlab, but is there a potential problem with thec compatibility between this version of matlab and excel? or maybe a problem with the path?
Any help or trouble shooting would be great!

回答 (2 件)

madhan ravi
madhan ravi 2018 年 10 月 28 日
Use readtable instead

Image Analyst
Image Analyst 2018 年 10 月 28 日
Try csvread() or importdata() instead of xlsread(). Attach your csv file if you need more help.

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by