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 Exchange에서 Data 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