Part of Matlab's GUIDE environment and also usable as standalone figure type to display and manipulate results in form of a table
Questions tagged [matlab-uitable]
129 questions
2
votes
1 answer
clearing the contents of uitable in matlab gui
Is there a way to clear the contents of the uitable in matlab gui like you can do
cla(handles.axes1) % for clearing axes.
I dont want to delete uitable, just need the data to be cleared.

nman84
- 335
- 3
- 8
- 25
2
votes
1 answer
How to save uitable() to PDF, JPG, etc
How can I save my uitable() to a PDF, JPG, etc.?
Using Matlab R2018a, no fancy add-ons. Looking for solutions using tables, not arrays, due to size/complexity of the real data.
% construct simple table as example %
t =…

a11
- 3,122
- 4
- 27
- 66
2
votes
1 answer
How to control the style of uitable headers?
Consider the following code that adds a table to a UIFigure:
hF = uifigure();
hT = uitable(hF, 'Position',[1 1 72 112], ...
'Data', [ (5:5:20).' + "K", 100+zeros(4,1) + "%" ], ...
'ColumnName', [compose("\x0394T"), "SR"], 'RowName', [],...
…

Dev-iL
- 23,742
- 7
- 57
- 99
2
votes
1 answer
Create uitable from dataset
I'm not able to create a table from a dataset using the uitable in matlab and I need help! Here's the problem:
I created a simple dataset :
names = {'John'; 'Henri'}
ages = [26; 18];
d1 = dataset({names, 'Name'}, {ages, 'Age'})
then I'have tried to…

anto
- 21
- 1
- 3
2
votes
1 answer
in uitable change the font colour and the background colour
I have a uitable that is displaying some data. When a value is greater than 1 I want the number to be in a red bold font.
This code gives me the correct output:
data(indx_red(:, n), n) = strcat(...
'

mHelpMe
- 6,336
- 24
- 75
- 150
2
votes
1 answer
MATLAB appdesigner chage selected cell in UItable
I have a UItable in MATLAB appdesigner, let's say 'app.UITable'. Can I change the selected cell via callback function? For example, I would like to move one cell down when Enter key is pressed. For what I read, new MATLAB uiobjects do not accept…

girdeux
- 585
- 1
- 5
- 11
2
votes
1 answer
How do i edit my uitable property?
I have a figure of uitable. I have 4 row and 3 columns.When i go to the property inspector, i cant delete row number 4. How can i delete row number 4?

raymond
- 127
- 3
- 15
2
votes
1 answer
How to customise JIDE grids in Matlab
I am using JIDE grids for loading huge data tables in a uitable format. My main reason for using JIDE grid was to have a working filtering and sorting ability. There are filter/sorters available out there which can be hooked with old uitable and are…

Amit
- 185
- 15
2
votes
1 answer
Access handles structure in CellEditCallback function
I'm creating a uitable in Matlab Guide that generates file names automatically based off of several parameters that a user will enter. For each file name in the table, a run time and number of runs can be specified.
I'm trying to write a callback…

mastablasta11
- 37
- 1
- 4
2
votes
2 answers
Getting selected cell indices from uitable
I have a uitable with 10 columns, which I'm populating from a db.
Now I want to know when the user choose a specific row. For example if the user chooses the 3rd record, I would like to get back the value 3, so then I could access the actual…

Jurgen Cuschieri
- 658
- 14
- 33
2
votes
2 answers
MATLAB uitable row generation from user input
I've got a GUI in MATLAB which uses uitables for input. There are a fixed number columns, and each column has a very specific format which I have stored as a cell array, like so:
columnformat = {'text', 'numeric', {@doSomething, inputArg1},…

Justin Fletcher
- 2,319
- 2
- 17
- 32
2
votes
1 answer
Undefined function or method 'findjobj' for input arguments of type 'double'. MATLAB
I am trying to customize my uitable in MATLAB using java.
However, I need to get the java handle using findjobj but I keep getting this error:
??? Undefined function or method 'findjobj' for input arguments of type 'double'.
Here is my code:
…

user3229406
- 25
- 3
2
votes
1 answer
Matlab add selected row data from child table to parent table
I have in my first figure GUI1 a table and a button that will open a new window with a table GUI2. How is it possible in matalab, to add in the table GUI1 a row data of the selected line in Table 2.
I've try first to select the row number with tihis…

TimeIsNear
- 711
- 4
- 19
- 38
2
votes
2 answers
How to delete selected rows in uitable?
I'd like to delete selected rows of an uitable.
I thought about using a checkbox for every row to select which one I want to delete.
But I can not add a column to a table with checkbox Set to false.
I get this follow error
??? Conversion to cell…

TimeIsNear
- 711
- 4
- 19
- 38
2
votes
2 answers
Table cells to be edited only on double click
The table cell is edit with a simple click, I want it to be edit only on double click. Simple click will select the cell.
I'm use this property of uitable:
set(hTable, 'Data',data,...
'ColumnEditable', edit,...

TimeIsNear
- 711
- 4
- 19
- 38