File Exchange

image thumbnail

Pseudo Enumerations

version 1.3.0.1 (5.31 KB) by

Create, manipulate and display arrays with enumeration values

0 Downloads

Updated

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.

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

add 2003- to copyright

1.1

BSD update

MATLAB Release
MATLAB 6.0 (R12)

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

» Watch video