Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

To read a cell array

Asked by sarfudeen

sarfudeen (view profile)

on 29 Mar 2013

To read a particular column of a cell array using the position of header name.

0 Comments

sarfudeen

sarfudeen (view profile)

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 29 Mar 2013

Example

A=num2cell(magic(5))
Col=3
A(:,col)

17 Comments

sarfudeen

sarfudeen (view profile)

on 29 Mar 2013

meas is a cell array of type cell

Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 29 Mar 2013

In windows command type

whos meas

what did you get?

sarfudeen

sarfudeen (view profile)

on 29 Mar 2013

Name = meas Size = 720x60 Bytes = 3112252 Class = cell Attributes =

Azzi Abdelmalek

Azzi Abdelmalek (view profile)

Contact us