필터 지우기
필터 지우기

Can you write text into gui tables?

조회 수: 1 (최근 30일)
Izuru
Izuru 2015년 5월 11일
댓글: Izuru 2015년 5월 11일
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일
string_data = {stringa; stringb; stringc};

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by