Got Questions? Get Answers.
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

Thread Subject:
cell array in uitable

Subject: cell array in uitable

From: Michael

Date: 14 Feb, 2010 16:51:20

Message: 1 of 1

Hello!

I try to use a uitable, that contains data from a cell array, which especially means that some fields may contain double or string variables. I found out, that if a complete row of the cell array contains just strings, Matlab is setting the property of the row to string/char - since when I want to change the value of such a field to a double value, it will be saved as string (left aligned content). It seems to me very unexpected, since Matlab just gives the possibility to change column properties!?
Anyway, it would be really great if each field in the table can be set to a string or to a double. Way is is not possible? Further, it would be also really great if it is possible to disable a whole row in the table as it is possible with a column.
Ah, and another aspect: it would be nice, if you type a string with tick marks into a field of a table, that at least in this case a string will be recognized as a string - as it will be in the workspace editor.


Best regards,
Michael

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us