uwrite/uread

UREAD/UWRITE are like FREAD/FWRITE except that they operate on arrays in memory.
2.1K Downloads
Updated 22 Jul 2009

View License

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 (2024). 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 Linux
Categories
Find more on Large Files and Big Data in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

uwrite/

Version Published Release Notes
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