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
35
votes
3 answers

How should I update the data of a plot in Matlab?

Suppose that I want to update a plot with a new data. What method should I choose? Set the XDataSource property to some name, update the variable, and call refreshdata Erase the original plot, and call plot command again. Use Set('Xdata',...')
Andrey Rubshtein
  • 20,795
  • 11
  • 69
  • 104
29
votes
5 answers

What's the "right" way to organize GUI code?

I'm working on a fairly sophisticated GUI program to be deployed with MATLAB Compiler. (There are good reasons MATLAB is being used to build this GUI, that is not the point of this question. I realize GUI-building is not a strong suit for this…
Dang Khoa
  • 5,693
  • 8
  • 51
  • 80
18
votes
6 answers

Is the MATLAB gui creator GUIDE as awful as I think? Is there an alternative?

I've been trying to put together a gui in MATLAB and have had great difficulty. Here is a little background about my program: I want to create a wizard to step users through an image analysis process. The wizard will cue users for their input and…
wherestheforce
  • 527
  • 1
  • 5
  • 19
14
votes
3 answers

Optimized tabs in MATLAB GUI

I am working in a GUI in MATLAB and I use tabs to organize the information. As the tabs are not supported in MATLAB GUIDE, I just create several uipanels and change their 'Visible' field. However, when the number of controls within each panel is…
tashuhka
  • 5,028
  • 4
  • 45
  • 64
13
votes
1 answer

Get data cursor callback in Matlab GUI

How can I set the Matlab GUI data cursor callback for a specific GUI axes? I was able to add the data cursor icon in GUI toolbar. I can selected 3D point on the plotted data, but I need to add more info in the data cursor text and also do some other…
Pedro77
  • 5,176
  • 7
  • 61
  • 91
12
votes
1 answer

MATLAB slider step behavior

I have a created a slider widget using GUIDE in MATLAB 2012a. I want it to control an axis that displays images inwhich the slider steps through a sequence of them. I have set the slider's properties for Min, Max, and SliderStep in one part of the…
Noren
  • 793
  • 3
  • 10
  • 23
11
votes
3 answers

Assign a value to a static text in GUI MATLAB

How can I assign a value to a static text in a MATLAB GUI?
Achraf
  • 658
  • 6
  • 14
  • 34
10
votes
3 answers

In MATLAB, how can you have a callback execute while a slider is being dragged?

I have created a MATLAB GUI using GUIDE. I have a slider with a callback function. I have noticed that this callback, which is supposed to execute 'on slider movement', in fact only runs once the slider has been moved and the mouse released. Is…
Bill Cheatham
  • 11,396
  • 17
  • 69
  • 104
9
votes
2 answers

Global variables in MATLAB GUI?

I'm working with MATLAB GUI. When I'm trying to access the variable which was defined with the push button, it is not defined in the pop up menu. The variables; it should be set 'global', so it is defined in the whole program. And I can use it in…
Alvi Syahrin
  • 373
  • 3
  • 7
  • 16
8
votes
1 answer

Can you limit what characters can be typed into a MATLAB GUI editbox?

I want to make an editbox in a MATLAB GUI which will only allow numbers or only allow letters to be typed into it. Is this possible?
dewalla
  • 1,317
  • 8
  • 18
  • 42
8
votes
4 answers

Matlab GUI using GUIDE : Want to dynamically update graphs

I've written a Matlab script that reads in data using a virtual COMM port in real-time. I've done a significant amount of signal processing in an mfile. Next, I felt the need to have a compact GUI that displays the information as summary. I only…
c0d3rz
  • 649
  • 3
  • 15
  • 23
8
votes
3 answers

guidata not updating in MATLAB GUI

I have a MATLAB GUI with: 1) A VLC window controlled by activex. 2) A bunch of radiobuttons to "annotate" the video on particular frames. I have working code, but I'm missing the output from the function that is called for annotation. This function,…
Matias Andina
  • 4,029
  • 4
  • 26
  • 58
8
votes
2 answers

Show CPU cores utilization in MATLAB

Is anyway (any function etc) to show CPU cores utilization in MATLAB in a GUI likes that we have in Task Manager of windows (Performance Tab)? Thanks.
Eghbal
  • 3,892
  • 13
  • 51
  • 112
8
votes
4 answers

How can I program a GUI in MATLAB?

I need to create a GUI in MATLAB for my project. I looked everywhere for examples of how to program a GUI but I couldn't find a lot. What are some good sites or techniques for GUI programming in MATLAB?
suphero
  • 497
  • 2
  • 8
  • 18
8
votes
1 answer

Scaleable, draggable box on plots that can select data

Here's the setup: I've got a graphical plot of data, and I'm trying to find if it's feasible to try to put a box on the figure that can be moved and changed in width and return some values like percentage of and area under the curve. It looks…
Brian
  • 357
  • 1
  • 3
  • 8
1
2 3
90 91