Error in power_spectrum (line 9) M = csvread(devc_file,2,0);
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I am new user of matlab and I need to use a matlab file that a developer did. Unfortunately I see this error:
Error in power_spectrum (line 9)
M = csvread(devc_file,2,0);
The name of my csv file is devc_file, and I placed it in the same folders ot the matlab file. Can someone tell me if I did something wrong?
댓글 수: 0
답변 (1개)
madhan ravi
2018년 11월 17일
M = readtable('devc_file.csv')
댓글 수: 3
madhan ravi
2018년 11월 17일
just try my answer , readtable can also read the csv file , plus you didn't use strings to define the filename that might be the reason for your error
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!