does anyone know how we enter data manually into "uitable"?

 Respuesta aceptada

What do you mean by manually?
  1. By the user directly typing into the cells of the table, or
  2. By programmatically sending some data to the table?
If (1), just run the app by clicking on the green run triangle and have the user click inside a cell and start typing.
if (2), just do this
handles.uitable1.Data = yourMatrix; % Or your cell array.

Más respuestas (1)

One option could be writing callback to button(Enter data) wherein we use inputdlg to get the user inputs for all values and assigning it to uitable there itself.
doc inputdlg

Categorías

Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 29 de Dic. de 2019

Respondida:

el 29 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by