sizeof
Version 1.0.0.0 (519 Bytes) by
Charles Simpson
Return the number of bytes of a builtin data type.
2K Downloads
Updated
26 Sep 2007
No License
Similar to the sizeof keyword in C, return the number of bytes of a builtin data type.
Example:
nbytes = sizeof('single');
Cite As
Charles Simpson (2024). sizeof (https://www.mathworks.com/matlabcentral/fileexchange/16595-sizeof), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Data Types in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Compression Routines
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |