Effacer les filtres
Effacer les filtres

Problems with data in uitable

3 vues (au cours des 30 derniers jours)
Harold
Harold le 24 Avr 2013
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 commentaire
Harold
Harold le 24 Avr 2013
I just figure it out. changed the format to numeric for the column.

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (1)

Zhang lu
Zhang lu le 24 Avr 2013
do u mean : data_new=data(:)'

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by