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

Showing Iteration in GUI

I'm working with k-means in MATLAB GUI. I want to show the iterations of the process on the GUI when they press the push button. But I am not able to do this. I only can do this by command window--and all of us can. Here is the snippet of the…
Alvi Syahrin
  • 373
  • 3
  • 7
  • 16
0
votes
1 answer

How do I format the string of a uicontrol to not use scientific notation?

I have a popupmenu using the uicontrol class within matlab. However, the numbers that are greater than 1 million are expressed in scientific notation: This is generated using the following code: sPropGrid = uiextras.Grid('Parent',…
James Mertz
  • 8,459
  • 11
  • 60
  • 87
0
votes
2 answers

Tranferring data from a function to a callback function within a GUI in MATLAB

I have a GUI in MATLAB (created using GUIDE) which has a pushbutton callback and 2 edit boxes. The edit boxes are to be filled first after which pressing the pushbutton plots a figure on a pair of axes. Upon Pressing this pushbutton, I execute a .m…
Ananth Saran
  • 207
  • 2
  • 17
0
votes
1 answer

Using Imwrite command in MATLAB

[fname1 path] = uigetfile('*.*','open image file');%*.* [path,name,ext,ver] = fileparts(fname1); handles.fname = strcat(name,ext); a = imread(handles.fname); r = imresize(a,[256,256]); file = 'C:\Main CBIR\query images\r.bmp'; [fname,map] =…
Chethan
  • 213
  • 3
  • 7
  • 19
0
votes
1 answer

Show whether the GUI is running or not in matlab GUIDE

I'm currently creating a GUI using mathlab GUIDE. Since the GUI is very slow I'd like to add an edit_text uicontrol in order to show whether the GUI is running or not. For instance I have a push_button that changes the plot in an axes. When the user…
ChocoPouce
  • 173
  • 7
0
votes
1 answer

Setting Column and Row Names from Cell in uitable - MATLAB

I am using GUIDE to build my first GUI interface in MATLAB. I have several matrices I want to display using the uitable. For now let's focus on one matrix, say myMatrix [10x5] Now I have two cells of strings, columnNames (1x5), and another, rowNames…
msmf14
  • 1,449
  • 4
  • 13
  • 19
0
votes
1 answer

Plotting onto specified axes in Matlab GUIDE

I have the following code for a pushbutton using Matlab GUIDE.It is supposed to plot a rotating arrow which rotates to the angles specified by theta 1 and theta 2. function start_pushbutton_callback_Callback(hObject, eventdata, handles) % hObject …
Ananth Saran
  • 207
  • 2
  • 17
0
votes
1 answer

Passing variables between m files and gui in matlab

I have matlab scripts(m files) now I have to 1. integrate them to a GUI using the guide tool. there is an initialization file say 'file1' and dependent files 'file2','file3' etc. have to push this into GUI. 2. The figure/image plotting is causing…
0
votes
1 answer

How to clear serial port BytesAvailable by using Matlab?

I have connected a phone to the computer by serial port and I am using matlab to control it(the phone). s = serial('COM8'); s.BytesAvailable %this returns 0 after using some fwrite AT command s.BytesAvailable returns number bigger than 0 (in my…
A Petrov
  • 417
  • 1
  • 9
  • 23
0
votes
1 answer

No callbacks in MATLAB GUI?

I am currently programming a GUI to display information for a robotic hand and when I right click any of the components in this GUI I cannot seem to find the Callback function. I have made a few other GUIs and I have not come across this problem…
jlcv
  • 1,688
  • 5
  • 21
  • 50
0
votes
1 answer

Passing data between functions and callbacks in MATLAB

I am new to MATLAB GUI building and I am trying to learn how to pass data between two GUIs. My question is how to call a function in the main GUI from a sub GUI. For example: In the main GUI, I am getting the values from two text box from their…
Ali P
  • 519
  • 6
  • 21
0
votes
1 answer

how to transfer the pairwise distance value in a distance matrix

I am pretty new to Matlab, now i want to use the matlab to do some clustering job. if I have 3 columns values id1 id2 distvalue1 id1 id3 distvalue2 .... id2 id4 distvalue i ..... 5000 ids in total, but some ids pairs are missing the…
user1830108
  • 195
  • 1
  • 15
0
votes
3 answers

How do I ask users to enter the name of EXCEL file in MATLAB?

I am using MATLAB R2010b. I am doing clustering with k-means algorithm. And everytime it is executed, it always shows different result. And I want it to be saved, always, in Excel. Here is the snippet of my code: y = [data…
Alvi Syahrin
  • 373
  • 3
  • 7
  • 16
0
votes
2 answers

Display "imshow" images in a GUI using GUIDE

I have a piece of code that is 300 lines long. There is 3 different instances of imshow throughout the code that displays figures as the code is run.. The GUI I am creating will be very simple. Currently I have a push button that initiates the m…
Navack
  • 3
  • 1
  • 1
  • 4
0
votes
2 answers

Matlab: ylabel along y-axis

I'm generating figures and I can't find the way to change the ylabel allignment so that it is along y-axis. plot(tvals(:,1:dim), Values(:,1:dim)) title(Title) xlabel(Xlabel) ylabel(Ylabel')
Karusmeister
  • 871
  • 2
  • 12
  • 25