Code covered by the BSD License  

Highlights from
Pseudo Enumerations

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

Pseudo Enumerations

by

Ben Hinkle (view profile)

 

26 Feb 2003 (Updated )

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   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
18 Feb 2006 Felix TTTTTTTTT

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

29 Jul 2004 David Salzberg

Works great when porting C code to matlab!

28 Aug 2003 Irtaza Barlas

Ah! A savior for C programmers...

04 Mar 2003 M. L. Lott  
Updates
14 Oct 2009 1.1

BSD update

24 Nov 2009 1.3

add 2003- to copyright

Contact us