uwrite/uread

UREAD/UWRITE are like FREAD/FWRITE except that they operate on arrays in memory.

You are now following this Submission

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://se.mathworks.com/matlabcentral/fileexchange/2055-uwrite-uread), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Removed GPL license from uwrite.c/uread.c

1.1.0.0

Removed GPL license.

1.0.0.0

fix documentation