Pseudo Enumerations
Version 1.3.0.1 (5.31 KB) by
Ben Hinkle
Create, manipulate and display arrays with enumeration values
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 (2026). Pseudo Enumerations (https://uk.mathworks.com/matlabcentral/fileexchange/3050-pseudo-enumerations), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Low-Level File I/O in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
