Cell Array Mimic

버전 1.1.0.0 (3.72 KB) 작성자: Will Jackson
This is a class which mimics a cell array by implementing several cell array functions.
다운로드 수: 517
업데이트 2010/6/4

라이선스 보기

CAindex mimics a cell array by overloading the following functions,

'CAindex'
'ctranspose'
'disp'
'end'
'horzcat'
'numel'
'plot'
'size'
'subsasgn'
'subsref'
'transpose'
'vertcat'

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,

C('ColumnTitle')

which is the same as

CELLARRAY(:,x)

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

Also,

C{'FirstColumnTitle'}

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.

인용 양식

Will Jackson (2026). Cell Array Mimic (https://kr.mathworks.com/matlabcentral/fileexchange/27825-cell-array-mimic), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Matrices and Arrays에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.1.0.0

Updated Copyright

1.0.0.0