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
7
votes
1 answer
How to modify uitable cell color according to data in table (in Matlab)?
I have a matlab function that returns results in a uitable.
There are 2 columns and lots of rows to the table: first column is "values" and second column is a "safety threshold/confidence interval" of sorts.
I'd like to format the output so that…

imateapot
- 141
- 1
- 1
- 8
7
votes
2 answers
How to deselect cells in uitable / how to disable cell selection highlighting?
I created the following uitable:
actually every single row is an indpendent uitable, so the figure shown contains 5 uitables besides the header. Why I'm doing that was the issue of my last question, resulting in the shown table. Fully executable…

Robert Seifert
- 25,078
- 11
- 68
- 113
7
votes
3 answers
Is it possible to prevent an uitable popup menu from popping up? Or: How to get a callback by clicking a cell, returning the row & column index?
For an user interface I'm programming an uitable. The user chooses an option A,B or C in the first column and the suboption in the second column depends on what was chosen in the first, either A.1,A.2 or A.3 or B.1,B.2 or B.3 or the same for C
The…

Robert Seifert
- 25,078
- 11
- 68
- 113
7
votes
1 answer
Corruption in uitable header when using setValue on the scrollbar
I am trying to create a table in MATLAB where I can change the scroll position programmatically. I created a uitable and extracted the handle of the Java UITablePeer object (designated here as htable).
I then got the handle for the UIScrollbarPane…

eyl
- 71
- 1
5
votes
2 answers
Html code used along with Matlab
I have recently found that Matlab can use LaTeX character sequences. However, they only can be used by the functions text, title, xlabel, ylabel and zlabel. I have designed a GUI which has an uitable. Its header is a string that uses HTML code and…

julianfperez
- 1,726
- 5
- 38
- 69
4
votes
1 answer
Displaying Font Colors in Matlab
I am trying to create an array of numbers (converted to string) that fall bellow a thresh hold, for my current testing i'm using 0.5. I need the font of every value of my table that falls above or below my thresh hold to be colored red, in my…

barracuda
- 968
- 3
- 10
- 26
4
votes
2 answers
Programmatically save changes of an editable uitable
I created an UItable in Matlab which I fill with various values and options.
It looks like:
the corresponding code is the following:
selector_1 = { 'A'; 'B' ; 'C' };
selector_2 = { 'A.1'; 'A.2'; 'A.3'; ...
'B.1'; 'B.2'; 'B.3'; ...
…

Robert Seifert
- 25,078
- 11
- 68
- 113
4
votes
2 answers
How do I change the column names of a uitable in MATLAB?
I am working with MATLAB GUI. I have a push button, when I press it, it is going to be like this:
To show that table, I wrote this script:
t=uitable; set(t,'Data',y)
y is the variable to show the numbers in the table.
The problem is, I want to…

Alvi Syahrin
- 373
- 3
- 7
- 16
3
votes
1 answer
Change size of uitable in matlab
I am using uitable in matlab GUI. In this GUI, rows and columns of uitable after each processing and hence I can't use Position property of uitable. when I draw table some area remain blank and its position is also always in left lower cornser of…

Naseeb Gill
- 661
- 10
- 23
3
votes
1 answer
Accessing top left corner of `uitable`
In uitable, I want to access the cell above the row labels and to the left of the column labels. I would like to put some text in that area. Can this be done?

Sardar Usama
- 19,536
- 9
- 36
- 58
3
votes
2 answers
How to update a uitable after creation from other functions?
I created a matfile in which I store data that are constantly overwritten by user behavior. This occurs in a function "test()".
n=1
while n < 5
myVal = double(Test704(1, 780, -1)) %Returns the user's behavior
if myVal == 1
n = n + 1…

Mana V
- 77
- 1
- 11
3
votes
1 answer
Using several popupmenues different rows of a uitable
To generate a ui-table I'm using GUIDE. To insert a popup menu into the ui-table I'm using the following code(for example):
data = {1;2;3,'A';'B';'C'}
set(handles.uitable,'ColumnFormat',{'1','2','3'},'char',data)
Then i will get the same popup…
3
votes
2 answers
uimenu buttons remain pressed and trigger also other menus by just sliding over them: pushbutton behaviour desired
I implemented various uimenus in my uitable but there appears a very annoying behaviour.
function createUItable
h = figure
...
uimenu(h,'Label','MenuButton','Callback',@someAction)
end
%---------
function someAction(~,~)
%some…

Robert Seifert
- 25,078
- 11
- 68
- 113
3
votes
2 answers
Setting different Cell-Formats in a Matlab uitable
I am looking for a way to handle different type of data in one column of a Matlab uitable.
Usually uitable is used to set whole columns to the same data type, such as logical (gives a checkboxes), char (gives left-aligned text), numeric (gives…

matheburg
- 2,097
- 1
- 19
- 46
3
votes
1 answer
Display multiple uitable objects in the same figure?
I would like to display several tables in the same MATLAB figure, much the same as subplot can be used to display multiple graphs. However, it seems that subplot does not apply to uitable objects.
As you can see, instead of five tables distributed…

Kaelin Colclasure
- 3,925
- 1
- 26
- 36