How to open .dat file
Show older comments
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
Accepted Answer
More Answers (1)
mohd akmal masud
on 5 Nov 2024
Moved: Walter Roberson
on 8 Nov 2024
Categories
Find more on Image Sequences and Batch Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!