Questions tagged [matlab-guide]

This tag is NOT for "guidance" on MATLAB questions. GUIDE, is a graphical user interfaces (GUI) design environment in MATLAB. This tag relates to the development of MATLAB applications with a GUI using the interactive GUIDE layout editor.

GUIDE, is a graphical user interfaces (GUI) design environment in MATLAB. This tag relates to the development of MATLAB applications with a GUI using the interactive GUIDE layout editor, as opposed to the AppDesigner tool or creating GUIs programmatically.

MATLAB is a high-level language and programming environment developed by MathWorks.

Additional sources of technical information on these topics include:

1363 questions
4
votes
1 answer

How to reach data stored in handles in a ButtownFcn?

I am trying to compare the click-obtained coordinates with a loaded matrix MT. I wrote a "loadMT" function to load the matrix MT, stored it into handles, and when it's finished it gives this(which I believe is a sign that MT has been stored in…
Suicide Bunny
  • 894
  • 1
  • 10
  • 23
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
4
votes
2 answers

Converting Matlab GUI into a guide GUI

I have inherited a pile of Matlab scripts that manually build a GUI using calls to uicontrol, uimenu, etc. Over the years we have needed to remove and add elements to the GUI and since all the positions are specified manually in the scripts, the…
mjr
  • 1,963
  • 4
  • 20
  • 21
4
votes
1 answer

Overlapping axes in GUI when plotting boxplot in MATLAB

I am creating a GUI in MATLAB using GUIDE. I have several axes, and in one of them I want to draw a boxplot. My problem is that after drawing the boxplot, the size of the axes changes, and it overlaps with some of my other figures. To replicate this…
Digna
  • 882
  • 5
  • 25
4
votes
1 answer

Matlab GUI reuse function block

I have made a Matlab GUI in GUIDE with two editable text boxes and four static text boxes The user inputs values in the two editable text boxes (e1 and e2) and based on these values it calculates the values that should be displayed in the static…
Saaru Lindestøkke
  • 2,067
  • 1
  • 25
  • 51
4
votes
2 answers

Matlab GUI: Dynamically changing the popup menu

I have a GUI that I want to add a popup menu to it. The popup menu fields that should be shown are saved in the file targets.txt. When I open my program, I want the popup menu to include the lines from the mentioned file above. I'm doing this…
Maroun
  • 94,125
  • 30
  • 188
  • 241
4
votes
1 answer

Finding means of the absolute values of second differences between elements

I have a row vector like so: [1 5 6 -4 3]. I want to find means of absolute values of second difference between elements. The second differences in this example are (6-1)=5 ,-4-5=-9 & 3-6=-3, and the average absolute mean is (5+9+3)/3=17/3. Is…
Tony YEe
  • 235
  • 1
  • 3
  • 13
4
votes
1 answer

MATLAB - updating plot in gui?

Getting started with matlab guide, hit a stumbling block. Got it as simple as I can as a toy gui to illustrate my problem. A gui (named asas) has a pushbutton and an axis. The callback of the button reads axesHandle=…
pedro silva
  • 75
  • 1
  • 2
  • 5
3
votes
2 answers

Matlab GUI, need handles object

I'm making a GUI with Matlab's guide. I'm placing points with impoint, and I use addNewPositionCallback to be able to update my 'point list'. One of the arguments given to my update function that I give as a callback, is the 'handles' object. But…
user1254962
  • 153
  • 5
  • 15
3
votes
1 answer

How to get exact position of text with respect to figure row, column in Matlab

In the following code segment I am trying to get the exact position of the text bounding box with respect to the figure pixel coordinates( row and column) to eventually be able to crop off that part of figure ( from array img ). However what I get…
C graphics
  • 7,308
  • 19
  • 83
  • 134
3
votes
2 answers

Creating a GUI in MATLAB using guide is not updating the m-file?

I am trying to create a GUI. I try and add 3 radio buttons to the GUI and when I hit save the m-file doesn't change... I can add other entities and the m-file is edited and changed like normal. Am I missing something?
dewalla
  • 1,317
  • 8
  • 18
  • 42
3
votes
1 answer

dividing image into non-overlapping and overlapping blocks

I have an image of 256*256.I have to divide the image into sub blocks of size W * W,where W=3,4,.....27 according to the given overlapping rules below: if W<8 thn no overlapping of blocks if 8<=W<=13 thn 50% overlapping of blocks if…
3
votes
3 answers

What is the best way to display a large text file in MATLAB GUIDE?

How can a MATLAB GUIDE control be used to display the contents of a text file in a GUI? The text file may be very long or very wide so it should have the ability to have vertical and horizontal scroll bars.
julianfperez
  • 1,726
  • 5
  • 38
  • 69
3
votes
2 answers

How might I build a full UI for a piece of Matlab numerical code?

I am researching building a full UI for a piece of Matlab numerical code. I can of course port the code to another platform and build the UI in the usual suspects (Qt, Java, etc), but it would be much preferable to communicate with the scientists…
0xF2
  • 314
  • 3
  • 17
3
votes
2 answers

Problems with displaying edited pictures in a GUI created in MATLAB

I have an assignment to create a GUI using MATLAB GUIDE and am having a problem with displaying an edited picture. I need to have buttons that edit the picture (eg. remove red, blue, green components and rotate) and display that edited picture. I am…
Phizunk
  • 55
  • 1
  • 7