Can you write text into gui tables?

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"

 採用された回答

Walter Roberson
Walter Roberson 2015 年 5 月 11 日

0 投票

string_data = {stringa; stringb; stringc};

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Import and Export についてさらに検索

質問済み:

2015 年 5 月 11 日

コメント済み:

2015 年 5 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by