Code covered by the BSD License  

Highlights from
Pseudo Enumerations

5.0

5.0 | 4 ratings Rate this file 2 Downloads (last 30 days) File Size: 5.31 KB File ID: #3050
image thumbnail

Pseudo Enumerations

by Ben Hinkle

 

26 Feb 2003 (Updated 24 Nov 2009)

Create, manipulate and display arrays with enumeration values

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
04 Mar 2003 M. L. Lott  
28 Aug 2003 Irtaza Barlas

Ah! A savior for C programmers...

29 Jul 2004 David Salzberg

Works great when porting C code to matlab!

18 Feb 2006 Felix TTTTTTTTT

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

Please login to add a comment or rating.
Updates
27 Feb 2003

submitted wrong version. try again.

14 Oct 2009

BSD update

24 Nov 2009

add 2003- to copyright

Tag Activity for this File
Tag Applied By Date/Time
matrices Ben Hinkle 22 Oct 2008 06:57:12
enum Ben Hinkle 22 Oct 2008 06:57:12
enumeration Ben Hinkle 22 Oct 2008 06:57:12
na Ben Hinkle 22 Oct 2008 06:57:12
nr Ben Hinkle 22 Oct 2008 06:57:12
nodata Ben Hinkle 22 Oct 2008 06:57:12

Contact us at files@mathworks.com