Questions tagged [matlab-uitable]

Part of Matlab's GUIDE environment and also usable as standalone figure type to display and manipulate results in form of a table

129 questions
1
vote
1 answer

how to string a data from uitable that been input by the user?

I'm trying to build a matrix form by creating a uitable in GUIDE. So I want the user to enter data into the table and I want to use the data at the pushbutton. But I dunno how to string the data from the table to the pushbutton. Is there any way to…
raymond
  • 127
  • 3
  • 15
1
vote
1 answer

Matlab Justify Strings

I'm using Matlab R2014b (that's why I cannot use strings, but only char vectors). Working inside a class, I have to take data from a table variable, format it following my needs, and then insert it into a GUI table (an instance of uitable, to be…
Tommaso Belluzzo
  • 23,232
  • 8
  • 74
  • 98
1
vote
1 answer

Right-align values in UITable in App Designer

I already asked about this on Matlab Answers but did not get a response there, so I try it here. I have some numbers I want to show in a UITable. Since I need a specific formatting of the values (three digits after comma, no scientific notation), I…
1
vote
1 answer

How do I make the matlab-uitable CellSelectionCallback respond to multiple consecutive clicks in the same cell?

--UPDATE-- I discovered that the uitable does not register a 'second click' when t.ColumnEditable = true. When this is true, MATLAB waits until you personally deselect the cell to begin registering new clicks. Hence, that entire time it expects that…
1
vote
1 answer

Appending data to a message box inside a 'for' loop in MatLab

I have written a function that uses user input to look up for closet value in one of the columns of a cell array and returns its indices. I use this index to print all the column values at that index. This is then displayed to the user a message…
vittal rao
  • 17
  • 1
  • 8
1
vote
3 answers

MATLAB: Cannot parse multiple floating-point values

I have a GUI with a UITable (built in GUIDE). I read in two numerical values and through a series of steps convert the floating-point value to a string. I want the user to have the ability to click on a specific cell in the UITable containing the…
DeeWBee
  • 695
  • 4
  • 13
  • 38
1
vote
0 answers

uitable with cell array that contains array

I'm trying to build a GUI to edit .mat files. I now want to edit a .mat file that contains a cell array of which some cells contain double arrays (like [20 30]). I load the .mat file in a uitable, but now I get the error: Data within a cell array…
Lukas
  • 11
  • 3
1
vote
2 answers

Uitable over whole window width

I would like to programmatically (or in GUIDE) fix the matlab-uitable to be the whole width of the panel on initialisation. How can I do this? All I've managed is to change the size in pixels of single columns. I would like the uitable to be 100%…
1
vote
0 answers

Pointing on specific cell in uitable of Matlab from the code

Does somebody know, how to point on specific cell in uitable of Matlab from the code (like it's done for listbox: set(handles.listbox1, 'Value', 25) - pointing on row 25 of listbox) ?
1
vote
1 answer

Table data is not editable at this location, why won't this checkbox let me check it?

f = figure; columnname = {'X' , 'Y'}; Selection = {'A','B','C','D','E'} [vals{1:numel(Selection),1}]=deal(false) columnform = {'logical','logical'}; t = uitable('Data',vals,'ColumnName', columnname, 'ColumnFormat',…
excelhelp
  • 91
  • 8
1
vote
1 answer

Strange Push Button Issue

I am crossing a strange problem, I have an uitable, I want to have new outputs from Network inputs and when I change input values in uitable to get new outputs I have to press pushbutton twice. I have searched it there are lots of questions about…
mari
  • 107
  • 1
  • 10
1
vote
1 answer

How can l assign values in uitable?

I am trying to figure out how can I assign values in uitable. I got the table size from my data matrix automatically and I am able to define values in first two columns as I want but I don't know how can I fill the third column. Is that possible to…
mari
  • 107
  • 1
  • 10
1
vote
1 answer

Issue with Setting Position of Uitable in MATLAB

I am trying to create a uitable in matlab. Consider the following simple example: f = figure; data = rand(3); colnames = {'X-Data', 'Y-Data', 'Z-Data'}; t = uitable(f, 'Data', data, 'ColumnName', colnames, ... 'Position', [20 20…
Mayou
  • 8,498
  • 16
  • 59
  • 98
1
vote
2 answers

Modifying uitable column header alignment?

I'm updating my generic data manipulation GUI and I thought I would make use of a uitable instead of a uicontrol listbox to display the path(s) and filename(s) of the loaded files. I noticed the column headers are centered by default, and I can't…
sco1
  • 12,154
  • 5
  • 26
  • 48
1
vote
2 answers

How to disable multiple cell selection in uitable?

I am using the MATLAB 2014a uitable and with the 'CellEditCallback', I create create a new figure by clicking a cell from my uitable. The problem is that the user may select multiple cells at the same time, then my program will open as much figures…
oro777
  • 1,110
  • 1
  • 14
  • 29
1 2 3
8 9