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

How to call a function in Matlab GUI?

Im new in matlab, Im trying to call a function inside a matlab GUI but I keep getting an error. Can you please help. function PushMe_Callback(hObject, eventdata, handles) set(handles.output_line,'String','I Got here'); …
Fish123
  • 25
  • 1
  • 2
  • 6
0
votes
2 answers

Dynamically creating edit text box in MATLAB GUIDE

I was wondering if we can determine the number of edit text boxes in MATLAB GUIDE during the run-time? A typical scenario would be that the user will enter a number of inputs and according to this number, I want to generate a number of edit text…
the_wicked
  • 85
  • 8
0
votes
1 answer

Can we get the source code of Matlab Spline Toolbox

I want to develop something like the Matlab splinetool GUI. Can I get the source code of splinetool GUI, and make same changes to build up my work.
bitcold
  • 653
  • 2
  • 8
  • 10
0
votes
1 answer

Get figure handle from different mfile and plot in GUI

I am tasked to design a GUI and I need to use variables and plots from a different mfile which I created earlier. I'm pretty confident about getting variables from the processing mfile but I'm not sure how to get the plots/figures. So basically my…
Nick
  • 2,862
  • 5
  • 34
  • 68
0
votes
1 answer

UIcontrol callback

I want make a main GUI with a Bushbutton(Bushbutton). when press pb1 => open a figure(Fig) with a pushbutton(Upb1), a Edit(Uet1) and a text (Ust1). I want: when press Upb1 , Ust1 show the number of Uet1 (also, when change Uet1 and press…
omid
  • 3
  • 2
0
votes
2 answers

Argument passing from a GUI

I have a function which can be run in various different ways, depending on the state of 42 constants which are set at the top of the code. Up until now, if I want to run my function under different conditions, I simply open the MATLAB code and…
CaptainProg
  • 5,610
  • 23
  • 71
  • 116
0
votes
1 answer

Handles in Matlab Guide

I am having a difficult time understanding use of handles in MATLAB's guide. WHEN TO USE THEM? For example, this is MATLAB's example how to use MATLAB Guide: handles.peaks = peaks(35); [x, y] = meshgrid(-8:.5:8) handles.current_data =…
Minimalist
  • 963
  • 12
  • 34
0
votes
0 answers

Creating GUI menu depending on user selection in another GUI in MATLAB

I am trying to develop a GUI involving two popup menus. In the first popup menu, there are 3 options. The number of options in the second popup menu should depend on the selected option in the first menu. If the first option is selected in the first…
0
votes
1 answer

MATLAB GUI Guide Error with Map

I'm trying to insert a map into MATLAB's GUI GUIDE and I'm getting the error: Error while evaluating uicontrol Callback The map does work when I run it standalone in the command window but when I push the button in GUIDE, it appears then gets…
Minimalist
  • 963
  • 12
  • 34
0
votes
4 answers

Handles variable in GUIDE is not updating

I have a GUI created using MATLAB GUIDE. I am trying to return a value from the GUI. Here are the relevant parts of the code (complete code can be found here): function varargout = test(varargin) % --- Outputs from this function are returned to the…
jhonatanoliveira
  • 141
  • 1
  • 11
0
votes
1 answer

ginput to uitable

This seems like a relatively simple problem. I want to have the data from my ginput function print to a uitable (or text box, whatever is easier) in my GUI. I cannot seem to figure this one out. The ginput is activated with a push button, so I am…
Shinobii
  • 2,401
  • 5
  • 24
  • 39
0
votes
1 answer

Editing one function in GUIDE, changes all functions?

I am using Matlab's GUIDE for the first time, I am trying to edit one of the two push button functions (both open an image), but editing one changes all of them. Here is a bit of code: % --- Executes on button press in Floating. function…
Shinobii
  • 2,401
  • 5
  • 24
  • 39
0
votes
1 answer

Cannot launch MATLAB guis (GUIDE) on scientific linux with jre 1.7.0_05

Problem: GUIDE guis are missing their usual features (drop-down, push-buttons, etc). They just appear as empty windows with borders delineating where the different buttons used to be. The issue appears to be related to the jre version I am using. I…
ivrin
  • 1,707
  • 1
  • 14
  • 11
0
votes
1 answer

Getting values from axis on mouse click

I'm developing a GUI in Matlab that presents a plot (in an axis object). When clicking on a point in the plot, the GUI will open some other plots for that data point. I added an axis object to my figure and implement the WindowButtonDownFcn to get a…
Ran
  • 4,117
  • 4
  • 44
  • 70
0
votes
1 answer

Drawing the derivative of a curve

I have a 3D curve in MATLAB, now I want to draw the derivative of that curve in another graph? For example, for y = x2 the derivative w.r.t. x is y = 2x. How can I do this ?
user559096
  • 107
  • 2
  • 8