File Exchange

image thumbnail

Pseudo Enumerations

version 1.3.0.1 (5.31 KB) by Ben Hinkle
Create, manipulate and display arrays with enumeration values

1 Download

Updated 01 Sep 2016

View License

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 (2019). Pseudo Enumerations (https://www.mathworks.com/matlabcentral/fileexchange/3050-pseudo-enumerations), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Felix TTTTTTTTT

Good code, just like the one u provide for DMD. ;)

David Salzberg

Works great when porting C code to matlab!

Irtaza Barlas

Ah! A savior for C programmers...

M. L. Lott

Updates

1.3.0.1

Updated license

1.3.0.0

add 2003- to copyright

1.1.0.0

BSD update

1.0.0.0

submitted wrong version. try again.

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux