MATLAB GUI uitable

12 Ansichten (letzte 30 Tage)
Eggo Ogge
Eggo Ogge am 1 Mär. 2011
Kommentiert: Walter Roberson am 12 Jul. 2017
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.

Akzeptierte Antwort

Paulo Silva
Paulo Silva am 1 Mär. 2011
Simple example
Data = {1, 2
3,4}
Data(:,1) %first column
Data(1,:) %first row
Data(1,1) %just the first cell
  3 Kommentare
Walter Roberson
Walter Roberson am 1 Mär. 2011
Data = get(handles.uitable1,'Data');
Data(1,1)
Eggo Ogge
Eggo Ogge am 1 Mär. 2011
it works, thank you!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

deekay uto
deekay uto am 1 Mär. 2011
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 Kommentare
KAE
KAE am 12 Jul. 2017
Ask as a separate question
Walter Roberson
Walter Roberson am 12 Jul. 2017
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by