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
3
votes
1 answer

Matlab slider uicontrol: make a slider "loop back" for angles reaching 2pi or zero

I am making a user interface with an input that represents an angle, to be set with uicontrol slider elements. It is expected that angles can wrap around the circle, so I would like that when the user increases the angle past the max value (2pi),…
3
votes
1 answer

How to change MATLAB GUIDE figure callbacks file name?

MATLAB GUIDE is a utility for GUI programming in MATLAB. If designing a figure named myfigure it creates two files myfigure.fig, which contains the GUI layout description, and myfigure.m which contains the callbacks describing the logic behind the…
Vahagn
  • 4,670
  • 9
  • 43
  • 72
3
votes
1 answer

Is there a way to change the current axes object in matlab without affecting the uistack ordering?

Matlab provides a function called uistack for arranging UI objects in the depth direction (which objects are in front of which others, etc). There is also a function (axes) for setting the current axes. I find that when I call axes, it also…
Jed
  • 193
  • 11
3
votes
1 answer

Variable shared by callbacks for a GUI built with Matlabs guide

Im kinda discovering GUI developement in Matlab and Im experimenting difficulties with some basic concepts. If anyone could help me I would be really greatful. Im trying to build a GUI using matlab 'guide', and all I am ding is loading an image into…
3
votes
1 answer

Including multiple folders (with images, scripts, etc) within a Matlab standalone GUI.exe

I have a software that has multiple GUIs. To organize things better (or at least that was my thought), I have created several folders within the root directory as it can be seen in this image. Within the folders i have both files with different…
16per9
  • 502
  • 4
  • 17
3
votes
1 answer

Change size of uitable in matlab

I am using uitable in matlab GUI. In this GUI, rows and columns of uitable after each processing and hence I can't use Position property of uitable. when I draw table some area remain blank and its position is also always in left lower cornser of…
Naseeb Gill
  • 661
  • 10
  • 23
3
votes
3 answers

How do I reduce the width of bars on histogram in Matlab

So far I have this; Disp_X = X - mean(X); hist(Disp_X); h = hist(Disp_X); h.BinWidth = 0.001; the h.BinWidth was working before to make my bars much narrower, but now I am getting this error message; "Field assignment to a non-structure array…
Luka Vlaskalic
  • 445
  • 1
  • 3
  • 19
3
votes
1 answer

MATLAB working with uitab

In working with MATLAB's uitab, I had two specific questions: How do I remove a tab that has been created using uitab function? How do I clear the contents of such a tab (including diagrams, buttons, etc.) without deleting the tab itself?
Feri
  • 1,071
  • 7
  • 19
3
votes
1 answer

Is it possible to make text in a matlab GUIDE app selectable (and possible to copy) but not editable?

Like question in title says. I would like a text field that should be possible to select just like text you would in a browser, but not editable. I tried setting the Enable property to off and inactive. I also tried using both text fields and edit…
user1661303
  • 539
  • 1
  • 7
  • 20
3
votes
1 answer

How to load data from previous session / store data from Edit Text Boxes in Matlab guide?

I have written a Matlab guide tool. But I need to give a lot of paths every time I start up the tool. Eg /path/to/image/folder /path/to/annotation/folder /path/to/filelist1 /path/to/filelist2 Right now I have to click all buttons and search for…
mcExchange
  • 6,154
  • 12
  • 57
  • 103
3
votes
1 answer

How use 'waitfor' or 'uiwait' in app designer of MATLAB?

How use waitfor or uiwait in app designer of MATLAB? These funtions only work with figures (GUIDE) not app designer windows. How can I have same behavior in app designer? I'm waiting for closing second window before continuing codes of main window.
Eghbal
  • 3,892
  • 13
  • 51
  • 112
3
votes
2 answers

How to close all graphs in GUI without closing the GUI itself?

I am using Matlab Guide to make a user interface. In this interface I run .m files which plots various graphs. After analysis, I want to close the graphs without closing the GUI. If I use close all; all the graphs including the GUI itself closes.…
H.K
  • 231
  • 1
  • 2
  • 15
3
votes
1 answer

Matlab GUI, how to go back from subplot to a single plot?

I am having a simple GUI with two pushbuttons. One of them is plotting a single plot, one is plotting two subplots. However, once I push the subplot option, I cannot go back to the single plot. I am getting an error: error using axes, invalid…
Agnieszka
  • 61
  • 3
3
votes
0 answers

Matlab: Colorbar in GUIDE

I have been trying for a while to input a colorbar beside my contour maps in guide with no luck. axes(handles.firstcontouraxes); contourf(Y,X,z1) title('First population'); set(gca,'YDir',yinverse,'XDir',xinverse,'clim',[cmin cmax]); colorbar The…
Mosawi
  • 197
  • 2
  • 16
3
votes
1 answer

Accessing top left corner of `uitable`

In uitable, I want to access the cell above the row labels and to the left of the column labels. I would like to put some text in that area. Can this be done?
Sardar Usama
  • 19,536
  • 9
  • 36
  • 58