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

Nested Parallel While Loops

I am trying to run two while loops in parallel for the purpose of data acquisition. This program will run for "n" num_trials with specific trial duration for each trial. During each trial, the program will collect data while keeping track of the…
0
votes
1 answer

How to make a figure invisible the first time I open in in Matlab GUIDE

I'm making a GUI using matlab GUIDE. Since GUIDE doesn't support tabs, I have a pop down menu where the user selects different options. Depending on the selected options, certain buttons appear and disappear, this is easily handled by turning the…
Ananth Saran
  • 207
  • 2
  • 17
0
votes
1 answer

Trials Timer with Read and Write

I am creating a GUI in Matlab that will read and write data to a text file based on the trial duration. The user will enter the number of trials and trial duration and then push the "start" button. For example the user enters 5 trials at 10 seconds…
exlux15
  • 909
  • 1
  • 9
  • 16
0
votes
1 answer

MATLAB: Matrix containing values of another matrix at specific indices

I need help solving an indexing problem. The assigned problem states: Two matrices (x and y) give the coordinates to form matrix B from matrix A. Produce the matrix B which contains the values of A at the given coordinates in x and y. For…
0
votes
2 answers

MATLAB: Given a row vector, find the indices of two nearest numbers

I had this problem assigned to me in class. I'm still learning MATLAB, so I couldn't figure out how to solve this one using indices. The problem is: Given a row vector of numbers, find the indices of the two closest numbers. For instance: [index1…
0
votes
1 answer

MATLAB: Return the largest number in an array?

I'm new to MATLAB (and this website!) and I needed some help with a problem I had been assigned for class. I searched this website for similar MATLAB problems, but I didn't come across any. The problem is asking the user to return the biggest number…
0
votes
1 answer

add simple geometric elements to GUIDE GUI

I am desiging a simple GUI application in Matlab using GUIDE. I am displayed a number of axis - and I would like to add some simple design elements to make the interface clearer. I would like to draw a colored rectangle around an axis (seperate from…
robince
  • 10,826
  • 3
  • 35
  • 48
0
votes
1 answer

sharing images between two matlab figures guide

so the problem is that i have 5 images in one figure "fig1" and i want to send the to second figure "fig2" also "fig2" is opened by a push button in fig1 when i press the button fig2 it is supposed to open fig2 with the images loadedbut when fig2 is…
m131313
  • 27
  • 1
  • 5
0
votes
1 answer

Subplot using hold and elseif in matlab

I have a problem while subplot my graphics. Can't plot over the old graphic in object(axes) in my GUI. The code: if get(handles.checkerro,'Value') == 1 plot(handles.axes4,tempo,real(Erro)','r') hold on elseif get(handles.checkcalc,'Value')…
0
votes
1 answer

Dynamic Population of Popup Menu - MATLAB

Another GUIDE question. I created a GUIDE figure with a pop up menu. The elements of the menu are determined dynamically when calling the figure. Example: myGUI(data, popupNames) should be called and then the strings included in popupNames should be…
msmf14
  • 1,449
  • 4
  • 13
  • 19
0
votes
0 answers

Remnants of MATLAB Popup Selection Example Stay There

I am still learning my way around MATLAB's gui. I used one of GUIDE's templates, precisely the GUI with Axes and Menu. This generates two files: GUIFigure.m and GUIFigure.fig At first, I deleted the line that gives labels to the popup menu which…
msmf14
  • 1,449
  • 4
  • 13
  • 19
0
votes
2 answers

any idea about x-y component and xy-axis

My problem when i take snapshot from the camera connected to my laptop, the y-axis become inverting so the result become wrong "http://s4.postimg.org/xcat1kmvh/sdsf.png"... i fix this problem by use this code " set(gca,'YDir','normal') %starts at…
roger1
  • 3
  • 6
0
votes
1 answer

Reading Text in Matlab

I have a text file which includes both numbers and plenty lines of text. But I just need to read numbers as two seperate Matrix in Matlab. The file is like this: finite element method Node Number 1 2 3 1 3 4 2 3 4 coordinates: 10 20 0 20 20 20 14…
A.Gholami
  • 1
  • 1
0
votes
2 answers

Saving GUI handles in Matlab GUIDE

In Matlab GUIDE, is there any way in which I can save all my GUIhandles from a GUI.m file so that I can access these handles in a different function (a different .m file altogether, not one of the other callbacks in the GUI.m file)? Note that I…
0
votes
0 answers

Matlab event triggering in ODE45?

I have been trying to simulate a bouncing ball in Matlab, but have been unable to successfully trigger an event (probably because I'm not using the event function right?). I understand that the value is the value that you want to keep track of, and…
user2480019
  • 61
  • 2
  • 9