Pseudo Enumerations
Enumerations are lists of identifiers used as data values. For example the list of US states MA, NY, etc form an enumeration. Another enumeration, with one value, is a "NoData" enumeration. Pseudo enumerations are a way of implementing a form of enumerations purely in MATLAB m-code. The submission includes 2 files penum.m and dispe.m which define and display pseudo enumerations. See the m-file help for usage and examples.
Cite As
Ben Hinkle (2024). Pseudo Enumerations (https://www.mathworks.com/matlabcentral/fileexchange/3050-pseudo-enumerations), 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.