Answered
how to do coding on popup menu to display image
haha - you will need to access the *String* and *Value* properties of the popup menu to get the image name that has been selecte...

11 years ago | 0

Answered
How to save 2 images from function and use it in another function in MATLAB GUI?
Perna - you will want to save the data to the *handles* structure in one of your callbacks so that you can access it in another ...

11 years ago | 1

Answered
share some value between callbacks matlab GUI
Lily - see <http://www.mathworks.com/matlabcentral/answers/179265-how-to-pass-a-struct-between-callbacks-in-gui> for an example ...

11 years ago | 0

Answered
how can i modify bplot.m in order to display calculated values on the boxplot
Fatzo - if you wish to write the (for example) mean values, then use <http://www.mathworks.com/help/matlab/ref/text.html text> t...

11 years ago | 0

| accepted

Answered
How do I Loop a code every 6 rows until the end?
Try setting the step size in your <http://www.mathworks.com/help/matlab/ref/for.html for> loop to be 6. Something like the foll...

11 years ago | 1

Answered
How to change the text on a pushbutton in the code, not using property inspector
Taylor - if you have created your GUI using GUIDE, then you can use the *handles* structure to access the push buttons and chang...

11 years ago | 0

Answered
how to divide an image diagonally into two part?
Soumyadip - consider using <http://www.mathworks.com/help/matlab/ref/tril.html tril> or <http://www.mathworks.com/help/matlab/re...

11 years ago | 1

| accepted

Answered
Can some explain why when I tried to display two images side by side it not only didn't display the two images side by side but displayed one image that now had green in it.
Neo - <http://www.mathworks.com/help/images/ref/imshowpair.html imshowpair> displays the differences between two images. The gr...

11 years ago | 0

| accepted

Answered
change the ploted node location every 1 second
Singh - if you want to change the location of the kth node, then consider keeping an array of handles to each of the graphics ob...

11 years ago | 0

| accepted

Answered
how to code the following program in MATLAB 2010
Ritu - is the above code just creating a grayscale image since it seems that each red, green and blue pixel becomes the average ...

11 years ago | 0

| accepted

Answered
How can i solve a math problem here?
Ankita - if you wish to use MATLAB to solve your improper integral, then check out the examples from <http://www.mathworks.com/h...

11 years ago | 0

Answered
How to start at 0?
Anna - if you wish to plot the first element of *y* against zero, and each subsequent value at 1,2,3,... then just do the follow...

11 years ago | 2

Answered
run a while loop while excluding some point
Sujit - create an array of those values of *f* that you wish to ignore and then use that array in your *while* loop to decide wh...

11 years ago | 0

| accepted

Answered
How can I store an array from a called function to another array?
Kirtiman - if the dimension of *B* changes from iteration to iteration, then you will want to use a cell array to store the data...

11 years ago | 0

Answered
Drawing a circle on top of an ActiveX control
Kevin - try using <http://www.mathworks.com/help/matlab/ref/uistack.html uistack> which may be able to use to push your ActiveX ...

11 years ago | 0

Answered
I want function uppper (function's name in my code) should return p1 which is having 7 values. what changes are to made in the code below.
Tina - if you want to return all 7 PSNR values, then just change your function signature to function [pp1] = uppper( X ) ...

11 years ago | 0

Answered
how to deal with the error "Attempted to access t(5001); index out of bounds because numel(t)=2000."
Biswajit - the error message is telling you that you are trying to access an index that exceeds the dimension of your array *t*....

11 years ago | 0

Answered
How can I input the answers that shoot out of a loop into a vector?
Felipe - pre-size a matrix to store this data before entering the *while* loop (or use a *for* loop instead). If we assume that...

11 years ago | 1

Answered
How can I combine these two codes
Haim - just convert the second script into a function so that you can call it from the first function (make sure that you acknow...

11 years ago | 0

Answered
GUI buttondownfnc for mouse clickback does not callback or do anything
Izuru - I think that the *HitTest* should be applied to the image and not the axes (and this will need to occur for each new ima...

11 years ago | 0

Answered
How to interact my script with my gui?
Robson - does (or can) the GUI start the script (through a push button callback) or is it the other way around or must they run ...

11 years ago | 0

Answered
Save all workspace within a function
Baham91 - if it is absolutely necessary to save the variables from the base workspace from within your function, then you can us...

11 years ago | 2

| accepted

Answered
GUI: how to call callback function from keyboard using 'windowkeypressfcn'?
James - all you need to do is to just call the callback directly and ensure that you pass the correct inputs. Since your callbac...

11 years ago | 2

| accepted

Answered
Newton's Method implementing in Matlab
Jean-March - I suspect that the inputs *F* and *DF* are <http://www.mathworks.com/help/matlab/function-handles.html function han...

11 years ago | 0

Answered
Set a pull down menu
Melanie - see <http://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s> for an example on how you can pass...

11 years ago | 0

Answered
Can't Assign the Values of a changing vectors to the new ones
farzad - You understand the difficulty we are facing? You are asking us to determine what is wrong with your code but you aren'...

11 years ago | 1

| accepted

Answered
I write a code to read and write in excel format.
isreal - see the link <http://www.mathworks.com/help/matlab/debugging-code.html debugging in MATLAB> for ideas and instructions ...

11 years ago | 0

Answered
How to make stop running the program when once getting empty matrix???
Suchismita - use the <http://www.mathworks.com/help/matlab/ref/isempty.html isempty> function to determine whether your matrix i...

11 years ago | 1

| accepted

Answered
forrt1 severe (38) error
masri - what is the executable that you are running? I'm guessing that it is a Fortran compiled MEX file which takes in some in...

11 years ago | 1

Answered
Plot out of screen
John - you have two options both of which will require you to modify the GUI through GUIDE (where this was created). Open the f...

11 years ago | 0

| accepted

Load more