MATLAB: Fread and fwrite application in reading file from disk

freadfwritepdf

hello everyone, can you read data from disk (say a pdf file) with a precision other than uint8 (say integer*4) and then re-write the numerical array back into a meaningful file on the disk?

Best Answer

input_data = fread(input_fid, '*uint32');
fwrite(output_fid, input_data);
Related Question