uwrite/uread
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.