How to open .dat file
Ältere Kommentare anzeigen
Dear All,
I have .dat file as attached. I tried open using this script but an error.
Error using reshape
Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate
size for that dimension.
unzip xcat_wb.zip
fid = fopen('xcat_wb.dat','rb');
arr = fread(fid,'int8');
fclose(fid);
dim = [364,364,110];
arr = reshape(arr,dim)
volshow
Akzeptierte Antwort
Weitere Antworten (1)
mohd akmal masud
am 5 Nov. 2024
Verschoben: Walter Roberson
am 8 Nov. 2024
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!