How to open .dat file
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
mohd akmal masud
le 5 Nov 2024
Déplacé(e) : Walter Roberson
le 8 Nov 2024
Catégories
En savoir plus sur Image Sequences and Batch Processing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!