MATLAB GUI uitable

조회 수: 2 (최근 30일)
Eggo Ogge
Eggo Ogge 2011년 3월 1일
댓글: Walter Roberson 2017년 7월 12일
I have a table with 2 columns and 2 rows, to display all data in table I use the get(handles.uitable1, 'data') function.
But I want to display only one cell, for example the first column and the first row (1,1). How to format function now? I would be very thankful.

채택된 답변

Paulo Silva
Paulo Silva 2011년 3월 1일
Simple example
Data = {1, 2
3,4}
Data(:,1) %first column
Data(1,:) %first row
Data(1,1) %just the first cell
  댓글 수: 3
Walter Roberson
Walter Roberson 2011년 3월 1일
Data = get(handles.uitable1,'Data');
Data(1,1)
Eggo Ogge
Eggo Ogge 2011년 3월 1일
it works, thank you!!

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

추가 답변 (1개)

deekay uto
deekay uto 2011년 3월 1일
sorry for disturbing, i want to ask, how i can call function in train button...i hve been asked to develop a system to predict rainfall,it required GUI..so i dont knw how to call bck the function at train button. on my gui i got mse,epoch,input node,stimulate and error. i really need ur opinion...regard
  댓글 수: 2
KAE
KAE 2017년 7월 12일
Ask as a separate question
Walter Roberson
Walter Roberson 2017년 7월 12일
KAE: deekay uto would not have been notified about your comment. And as it is now 6 years later, deekay uto is probably not checking for responses.

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

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by