Issues with xlsread (of a csv file) importing an empty dataset
조회 수: 3 (최근 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!