Can you write text into gui tables?

1 visualizzazione (ultimi 30 giorni)
Izuru
Izuru il 11 Mag 2015
Commentato: Izuru il 11 Mag 2015
Hi,
I've created a table (12 rows 1 column) and I'm currently writing numbers into the column. I was wondering how to write strings into the columns?
Would this work?;
string_data = [stringa; stringb; stringc];
set(handles.table, 'Data', string_data);
I keep getting this error when i try that
"While setting the 'Data' property of Table: Data must be a numeric, logical, or cell array"

Risposta accettata

Walter Roberson
Walter Roberson il 11 Mag 2015
string_data = {stringa; stringb; stringc};

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by