I get an error when i use load command

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 件のコメント

Star Strider
Star Strider 2015 年 12 月 8 日
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 件)

この質問は閉じられています。

タグ

質問済み:

Ray
2015 年 12 月 8 日

閉鎖済み:

2015 年 12 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by