uwrite/uread
Version 1.2.0.0 (8.58 KB) by
Sridhar Anandakrishnan
UREAD/UWRITE are like FREAD/FWRITE except that they operate on arrays in memory.
A=UWRITE(D, PREC) will create a uint8 array A from the double array D. The format of the binary data in A is determined by PREC (one of uint8, uint16, uint32, int8 int16, int32, float32, float64, or double). The size of A is dependent on the precision PREC.
D=UREAD(A, N, PREC) will read the uint8 array A and return N values into D. The data in A are assumed to be in the format of PREC (see UWRITE for supported formats).
Cite As
Sridhar Anandakrishnan (2026). uwrite/uread (https://www.mathworks.com/matlabcentral/fileexchange/2055-uwrite-uread), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Large Files and Big Data in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
