View License

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

» Watch video

Highlights from
Cell Array Mimic

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 3.72 KB File ID: #27825 Version: 1.1

Cell Array Mimic


Will (view profile)


03 Jun 2010 (Updated )

This is a class which mimics a cell array by implementing several cell array functions.

| Watch this File

File Information

CAindex mimics a cell array by overloading the following functions,


The attached test file illustrates the different operations it can perform. The way it differs from a normal cell array is that I can call it like this,


which is the same as


if the element in CELLARRAY(1,x) is 'ColumnTitle'



works similarly.

This was motivated by the desire to mimic a cell array with only subtle differences which is one of the more challenging things to do with MATLAB classes.

MATLAB release MATLAB 7.10 (R2010a)
Other requirements MATLAB R2008a, which introduced MATLAB classes, is required to run this code.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
04 Jun 2010 1.1

Updated Copyright

Contact us