Problems with data in uitable

2 次查看(过去 30 天)
I'm having problems using a logical array of data in uitable. I don't want the check box to show up. I want either a 1 or 0 to show up. For example, if my data is as follows
data = [1;0;1;0;0;1;1;0];
I want the table to show these values in a column under match. So far it just keeps making a checkbox.
  1 个评论
Harold
Harold 2013-4-24
I just figure it out. changed the format to numeric for the column.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2013-4-24
double() the data that you store instead of leaving it as logical.

更多回答(1 个)

Zhang lu
Zhang lu 2013-4-24
do u mean : data_new=data(:)'

类别

Help CenterFile Exchange 中查找有关 Whos 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by