File Exchange

image thumbnail

sizeof

version 1.0 (732 Bytes) by

Return the number of bytes of a builtin data type.

3 Downloads

Updated

No License

Similar to the sizeof keyword in C, return the number of bytes of a builtin data type.

Example:
  nbytes = sizeof('single');

Comments and Ratings (2)

Doug

Doug (view profile)

MATLAB Release
MATLAB 7.4 (R2007a)
Acknowledgements

Inspired: Compression Routines

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video