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
1
vote
1 answer
Editable functionality in uitable is not working: "Table data is not editable at this location."
I want my uitable to have checkboxes that you can click in it. If I do it this way, i get the warning: Table data is not editable at this location.
As it is now, the boxes appear but you can't click them.
p=figure
D={'1', '2', '3' ,'4', '5','6'
…

user3796906
- 35
- 7
1
vote
1 answer
Trigger CellEditCallback before Button Callback
I have a GUI with a uitable that the user can edit values in. I have a CellEditCallback function for that table that triggers and checks for input errors in the cells whenever a user presses enter while editing a cell or clicks outside the cell.…
user3793959
1
vote
1 answer
count number of rows in uitable
I'm having trouble counting the number of rows in my uitable.
data={'for' '32' '1'
'123' 'tired' '3g'
'0' 'door' 'roof'};
w=uitable('data',data,'position',[100 100 100 100])
I have tried the command height, but i get an error…

user3796906
- 35
- 7
1
vote
1 answer
An error while running uitable
I am trying to run this program. but I am getting an error which is
Attempt to call constructor uitable with incorrect letter case.
Error in simple_gui2 (line 11)
Where I am wrong? Code:
f = figure('Position',[200 200 400 150]);
dat =…

user3275911
- 53
- 5
1
vote
1 answer
Exporting uitable data to excel using matlab for macintosh
I am stuck trying to export matlab uitable data to excel. I tried many things, and It has been impossible to solve this problem. After many days, I tried the code below using windows and it does work perfect, however, using the same for Macintosh is…

Hector
- 275
- 6
- 16
1
vote
2 answers
Drag pattern in uitable matlab
I want to know if it is possible to drag pattern values in matlab uitable. In a spreadsheet, to enter values from 1 to 50, you need to enter 1,2,3 and select the cells and drag. Please can this be done in matlab uitable? Regards.

user2868118
- 43
- 2
- 9
1
vote
2 answers
How to modify uitable cell height (row height) in Matlab?
I have a uitable with 6 row and 6 column and i want to show it in full screen mode for doing this i can change column width but i can't change row height.
Extent is Size of uitable rectangle, but it is read only properties.

maia
- 302
- 1
- 4
- 12
1
vote
1 answer
MATLAB uitable logical checkboxes not being checked
I am using GUIDE in MATLAB R2012b, and have a uitable with editable logical checkboxes. The Cell Edit callback is as follows:
function data_table_CellEditCallback(hObject, eventdata, handles)
row = eventdata.Indices(1);
column =…

user2640461
- 215
- 2
- 6
1
vote
1 answer
Resize rowname column width of uitable in MATLAB
I have an uitable in MATLAB with rownames. The column with the rownames is excessively wide and I want to make it "tight" - how do I resize the rownames column of an uitable?

rize
- 849
- 6
- 17
- 33
1
vote
1 answer
Limit the significant figures in a uitable in Matlab. Data imported from Java
I have a table where I imported data using javaaddpath. I would like to limit the significant figures of this java database in Matlab.
I use javaaddpath to add the string I would like to work in and from there I select a database. Once in the…

Nicole Ouellette
- 97
- 2
- 2
- 11
1
vote
1 answer
Weird symbols on coloring specific cell data in uitable
I referred to this answer in coloring specific rows of a table in the GUI, however, I get some weird symbols instead of actual numbers present in those rows as shown below:
This is the line of code I am using to color:
DataTable =…
user238469
1
vote
1 answer
saving user input from uitable matlab GUI?
I'm creating a GUI (not using GUIDE)
I'm looking for a convenient way for a user to enter some data. I figured uitable would be ideal except i can't seem to figure out how to store the user input from the table.
I'd rather not use the…

richyo1000
- 190
- 3
- 16
1
vote
1 answer
Solving The Figure Tab on MATLAB GUI
I'm working with k-means and silhouette in MATLAB GUI. On my MATLAB GUI, there is some push buttons, let us call it 'k-means' and 'silhouette'.
This is the code for the k-means:
[g c] = kmeans(data,k,'dist','SqEuclidean');
y = [data…

Alvi Syahrin
- 373
- 3
- 7
- 16
1
vote
1 answer
I Want Users Browse The File, But It Affects to My Script
I'm doing with MATLAB.
I have a file named 'cobat'. Cobat is a *txt file, tab delimited, consisted of 3 coloumns, so it's a table. I load it manually into this script:
I want users browse their own file. How can I do it? Is this code…

Alvi Syahrin
- 373
- 3
- 7
- 16
1
vote
1 answer
Matlab: uitable with Logical cell and default value of 'true'
I'm trying to build a uitable 1x2.
Cell(1,1) format is a 'logical'; Cell(1,2) is 'char'
handles.SeedTable = uitable(...
'ColumnName',{'Shuffle' 'Seed#'},...
'ColumnFormat',{'logical','char'},...
…

NimrodB
- 153
- 3
- 13