Answered
Decimal Date Format to get Max Times
Delany - consider the <http://www.mathworks.com/help/matlab/ref/now.html now> function. It returns the current date and time as...

10 years ago | 0

Answered
Making movie from images
Ali - how do you know that your images are in the correct order? For example, what does Files = dir('*.jpg'); return? I...

10 years ago | 1

| accepted

Answered
problem with matlab 2010a
chaala - according to <http://www.mathworks.com/help/images/ref/bwareafilt.html bwareafilt>, this function was introduced in R20...

10 years ago | 0

| accepted

Answered
vector into matrix and loop over different length vectors.
Mikkel - perhaps you can use a <http://www.mathworks.com/help/matlab/ref/cell.html cell array> to manage all the directions. Ea...

10 years ago | 0

Answered
Parameters in GUI functions
nilsotto - just save the parameter to the *handles* structure using *guidata* as function InputButton_Callback(hObject, even...

10 years ago | 0

Answered
Assigning Handles to a variable of an image.
Luke - you are using *Reassign_handle* as if it were a handle (to a graphics object) at line set(Reassign_handle, col_val); ...

10 years ago | 0

Answered
Update Edit Box in GUI
Umar - make sure that you append the new numbers to your text field rather than replacing. Assuming that you have created your ...

10 years ago | 0

| accepted

Answered
reference to nonexistent field
Hamza - if you look at your *results.fig* from within GUIDE, you will note that there is one *uitable* and one *static text* con...

10 years ago | 0

| accepted

Answered
I have the user input a string, then I try and use the string in an if statment, but matlab keeps telling me the matrix dimensions don't agree, and I don't have a matrix?
Malyn - I'm not sure which line of code is generating that error message (please indicate which one), but when I run the above, ...

10 years ago | 0

Answered
Removing top layer of struct
Jonathan - the behaviour that you are observing seems reasonable (and intended) given that there could be more than one variable...

10 years ago | 3

Answered
How to have multiple GUI functions access varargin?
John - rather than using global variables, why not save the input parameters to the *handles* structure? Presumably, you are ac...

10 years ago | 0

Answered
Rotate ylabel and keep centered
Okay, so the 'y' label is just slightly "north" of 0.5 whereas when it was not rotated, the label was centred on 0.5. Try chang...

10 years ago | 3

Answered
Pie Chart Percentages Of Each Section
Jack - if you wish to include the pie char percentages for each slice (which will be fixed at 50, 35 and 15 with your above code...

10 years ago | 1

| accepted

Answered
problem with togglebutton callback
alex - look closely at the code in your *togglebutton1* callback set(handles.togglebutton2, 'Value', 1); togglebutton2_C...

10 years ago | 0

| accepted

Answered
simple animation of moving lines
Stephen - part of the problem may be with the call to *plot* plot(x12(j), y12(j), '-') *x12* and *y12* are two dimensiona...

10 years ago | 0

Answered
GUI - 'Struct contents reference from a non-struct array object' error.
Ellis - put a breakpoint at the line of code that is generating the error set(handles.listbox1,'String', MyListOfFiles); ...

10 years ago | 1

Answered
plot([x1,x2],[y1,y2]) what does this mean ?
Chirag - that line of code plot([x0(i),x1(i)],[y0(i),y1(i)]) is using the square brackets to concatenate two elements to...

10 years ago | 0

Answered
Error using ' . Transpose on ND array is not defined. Use PERMUTE instead.
Almal - please verify that your image is in fact a 2D image. If it is 3D, then you cannot transpose it. For example, the follo...

10 years ago | 0

Answered
Add grid lines but leave x tick labels unchanged
Jason - I think that there has to be a one-to-one "mapping" between the ticks and the labels else MATLAB will cycle through the ...

10 years ago | 0

Answered
How do I set one image into multiple axes?
Pearly - perhaps try using the *Parent* property of <http://www.mathworks.com/help/images/ref/imshow.html imshow> to indicate wh...

10 years ago | 2

| accepted

Answered
How to change a plot's graph with radiobutton and drawnow?
Raitis - I would avoid using the callback to the radio button and just check the state of the radio button in the *while* loop. ...

10 years ago | 0

Answered
How to check if value exit in database by write it on gui and use push button callback ?
Emma - what have you tried so far? I suspect that you will need to GUIs. The first will accept the user login information and ...

10 years ago | 0

Answered
Stopping a function in between GUI
Max - rather than using the *sound* function to play the audio recording, consider using an <http://www.mathworks.com/help/matla...

10 years ago | 0

| accepted

Answered
can I do summation of two columns of a text file ?
ND - you can try using <http://www.mathworks.com/help/matlab/ref/uiimport.html uiimport> to import the data from your text file ...

10 years ago | 0

| accepted

Answered
Displaying Histogram IN GUI AXES using imhist
Luke - I am unsure about the line of code handles.axes2; What is the intent of this line? If you wish to set this to be ...

10 years ago | 0

Answered
I have a gui interface include a button and one axes box i need when i push this button Ican choose any video from my pc and play it in real time into the axes box that i create in the interface i need code source and explanation
mechri - you may want to consider using the <http://www.mathworks.com/help/matlab/ref/videoreader.html VideoReader> object to lo...

10 years ago | 0

Answered
How to Print a GUI?
A - a GUI is a figure, so you can use <http://www.mathworks.com/help/matlab/ref/print.html print> to save it as an image or as a...

10 years ago | 0

| accepted

Answered
How coding to read avi files, take every frame and save it back in the variable mov1 on a GUI?
Marquel -please describe how the above code is used within with respect to your GUI. Do you have a push button that loads the m...

10 years ago | 1

| accepted

Answered
Loading a Histogram in a GUI with data from another Function
Luke - I wonder if the problem is with the signature of your function function Hg = Hg(hObject, eventdata, h); You have ...

10 years ago | 0

Load more