Issues with xlsread (of a csv file) importing an empty dataset
2 ビュー (過去 30 日間)
古いコメントを表示
I have issues with using xlsread with the attached csv file. My firend had no issues importing it, but when I am trying with the same code, just
data = xlsread('filename');
my output gives an empty dataset for data [ ]. I tired on both my laptop and stationary and getting the same issue.
Anyone who can help enlighten me with my error?
Much appreciated
0 件のコメント
回答 (1 件)
madhan ravi
2019 年 2 月 9 日
編集済み: madhan ravi
2019 年 2 月 9 日
Use readtable() to read the file:
data = readtable('Vix_SP500.csv');
% ^^^^^^^^^^^^^---- this is your filename
3 件のコメント
madhan ravi
2019 年 2 月 9 日
編集済み: madhan ravi
2019 年 2 月 9 日
I am sorry I won't be able to answer that , I use Mac so I use readtable() to read .csv and excel files.
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!