Problems with data in uitable

조회 수: 2 (최근 30일)
Harold
Harold 2013년 4월 24일
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