Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I get an error when i use load command

조회 수: 1 (최근 30일)
Ray
Ray 2015년 12월 8일
마감: Walter Roberson 2015년 12월 8일
for k = 1:length(matFiles)
baseFileName = matFiles(k).name;
fullFileName = fullfile(myFolder, baseFileName);
fprintf(1, 'Now reading %s\n', fullFileName);
matData{k} = load(fullFileName);
%data.power = matData{k}.rawdata;
contour(xposition,yposition,matData{k}.rawdata)
hold on
end
Error using load Unable to read MAT-file /Volumes/MY PASSPORT/redhwan/Documents/MATLAB/2DimenstionalTestingGT20150907/MeasurementDataFinal/TWDPN5db14ft_35inchMetalCab/._xpositions.mat. Not a binary MAT-file. Try LOAD -ASCII to read as text.
Error in Plot2D (line 32) matData{k} = load(fullFileName);
  댓글 수: 3
Image Analyst
Image Analyst 2015년 12월 8일
Did you try what it suggested -- to use the -ASCII option? Or maybe you want to use a function like csvread, dlmread, importdata, textscan, etc. instead of load.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by