check status of csvread
이전 댓글 표시
Hi, is there any way to check a status of the csvread function ? I am using guide in matlab, I would like to check if there is an error after reading a file to make an error message.
Thank you.
답변 (1개)
Guillaume
2016년 5월 3일
try
m = csvread('somefile.txt');
catch exception
fprintf('Failed to read csv file because %s', exception.message);
end
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!