u8rw

Translate between raw binary data and MATLAB matrices.

Vous suivez désormais cette soumission

U8READ and U8WRITE are similar to the built-in functions FREAD and FWRITE except that they transfer data from and to a MATLAB uint8 matrix instead of a file.

A format (precision) argument controls the translation between MATLAB variables and the bytes stored in the uint8 matrix. Mixed precisions within a single call are supported. Big or little endian byte ordering can be specified.

These files are useful for formatting data for external devices (e.g. GPIB and serial ports) and for translating complex binary files (e.g. digital maps).

MEX-files for MacOS, MacOS X and PCWin are included plus source.

Citation pour cette source

Tom Davis (2026). u8rw (https://fr.mathworks.com/matlabcentral/fileexchange/352-u8rw), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Instrument Control Toolbox dans Help Center et MATLAB Answers

Add the first tag.

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Changed name (was WinU8); added source code; improved memory allocation algorithm; added binaries for Mac.