필터 지우기
필터 지우기

Hi good Evening, I want to ask about UI table.

조회 수: 1 (최근 30일)
Nasiha Husni
Nasiha Husni 2016년 6월 27일
댓글: Nasiha Husni 2016년 6월 28일
I want show string using UI table, at my program UI table will record all the user activity once their click any action like push button or selected menu button this UI table will show their selected similarly like history, example like Push Button 1 selected, Gender Male. I want record all the activity using UI table show in string but I don't know how to set the code, UI table will show in value. Please help me solve the problem how to show string or character using UI table.
Tq.

채택된 답변

Walter Roberson
Walter Roberson 2016년 6월 27일
get(handles.table1, 'Data')
data{end+1} = 'New Bit Of history you want to add';
set(handles.table1, 'Data', data);
  댓글 수: 3
Walter Roberson
Walter Roberson 2016년 6월 28일
if isequal(filename,0)
msg = 'The File is not Imported';
boxstr = '';
else
msg = ['The File is Imported', '...', fullfile(pathname, filename)];
boxstr = {'File Imported Name :', fullfile(pathname, filename)};
end
msgbox(msg);
set(handles.text22, 'String', boxstr );
get(handles.table1, 'Data');
data{end+1} = msg;
set(handles.table1, 'Data', data);
Nasiha Husni
Nasiha Husni 2016년 6월 28일
Thank you..its working

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by