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
2
votes
2 answers

Uitable set callback to column name

I have a uitable in MATLAB and currently I have callback functions to every cell. I have been trying for a while now to set a callback to the column and row name, but with no success. More specifically if the user clicks on a particular column name,…
YKa
  • 3,998
  • 4
  • 20
  • 31
2
votes
0 answers

fire matlab uitable cellselection callback on mouse up

I have a uitable with a checkbox column. I want to toggle the checkbox status for each selected cell. Clearly, that does not work when the callback function executes when the user is still adding cells to the selection. It should rather execute not…
user1618022
  • 163
  • 1
  • 6
2
votes
3 answers

Is it possible to concatenate a string with series of number?

I have a string (eg. 'STA') and I want to make a cell array that will be a concatenation of my sting with a numbers from 1 to X. I want the code to do something like the fore loop here below: for i = 1:Num a = [{a} …
NimrodB
  • 153
  • 3
  • 13
2
votes
3 answers

Uitable, cellSelectionCallback and modifying dataset

My code is really too long to be posted here, even by little portions. So I will just ask for one or two things : It appears to me that when modifying the 'Data' property of an uitable 'ht' : set(ht, 'Data', something); that the…
embrouille
  • 43
  • 1
  • 6
2
votes
1 answer

Get date by mouse click, matlab

I want to get two dates from a calendar. matlab functio is c = calendar or dates = calendar; dates(~any(dates,2),:) = []; fh = figure; uh = uitable('parent',fh,'data',dates,'ColumnWidth',repmat({20},1,7),... …
Shahgee
  • 3,303
  • 8
  • 49
  • 81
2
votes
1 answer

while selecting a row in uitable, It says "Attempt to reference field of non-structure array"

The Problem is: I need when a Pushbottom is clicked, the next row will be selected, the related code is: function pushbutton11_Callback(hObject, eventdata, handles) global mtable; jScroll = findjobj(mtable); …
2
votes
2 answers

Browsing a variable during a function call

While running one of my programs, I need to scan through a rather large matrix (100*700) to identify irregularities. My initial idea was to have a breakpoint in place when I need to do a data scan, but I'm not a fan of that solution. What I'm…
Rasman
  • 5,349
  • 1
  • 25
  • 38
2
votes
2 answers

Matlab uitable data selection

I have Uitable with data read from a AScii file. I want to select columns using mouse and also using checkboxes. I tried a lot but i cannot figure out how to select uitable column using mouse and getting that data. Also I am trying to insert…
Satya Vamsi
  • 217
  • 3
  • 6
  • 13
1
vote
2 answers

Add a button on a figure and to close the figure in MATLAB

I have a set of data that i have pulled out of the database. I have displayed them in a figure window, but i would like to have a button in which where it closes the figure window or does some other function to it. This is the code that i have so…
Jeiman
  • 1,121
  • 9
  • 27
  • 50
1
vote
1 answer

matlab: how to set dynamically invisible what is visible

I have a simple question about matlab using interface. I found that if I first declare an object (for example a table with the command UI table) NOT visible and after I make it visible, it works i.e. I see effectively in the figure the…
1
vote
1 answer

Export uitable's data to a spreadsheet Excel in Matlab

I have designed a GUI which has an uitable and a push button which, when is pressed, allows to export the uitable's data to an Excel spreadsheet. My problem is that I want to add the uitable's headers to the matrix Select which has the numeric…
julianfperez
  • 1,726
  • 5
  • 38
  • 69
1
vote
1 answer

how to select specific columns or rows of a table in appdesigner of matlab?

I Want to select a row or column of a table with the edit field component and do some actions on these data and show the result in the first cell of table ([1,1]) rowNames={1:100} columnName={A:ZZ} like this: sum(A1:A20) or Max(AA5:AA10) I want to…
Learner
  • 39
  • 6
1
vote
1 answer

Set limits for values in the cells of an uitable

I am creating a GUI using Matlab's App Designer (2019b). One of the nice features for NumericEditField is that you can define value limits so that users can't enter a value outside the desired range. For example, the following would limit the edit…
David K
  • 1,296
  • 18
  • 39
1
vote
2 answers

uitable and invisible figures

The following code produces a plot and a table on an invisible figure. f = figure('Visible','off') plot(rand(10),rand(10)) t = uitable('Parent',f,'Data',rand(10,10)) saveas(f,'file.jpg','jpg') The only problem is, that the table will not get…
aXon
  • 125
  • 1
  • 1
  • 10
1
vote
1 answer

Autofill a Cell in a uitable - Matlab

I have a comment field in a uitable that I wish to autofill based on other comments entered previously in the same column. Is it possible to program it in Matlab without using Java?
AsiJapan
  • 313
  • 1
  • 10
1 2
3
8 9