Answered
How can I use xlswrite to get data from GUI after I push a button?
Alexandra - if you don't want to overwrite the data that has been previously written to the Excel spreadsheet, then just specify...

11 years ago | 1

| accepted

Answered
How to get values from workspace to GUI with 'evalin'? error occuring
John - in your line of code temp1=evalin('base',var1) the *var1* should be wrapped in single quotes since the second inp...

11 years ago | 1

| accepted

Answered
i have to run .m file 51 times. how can i save all 51 results in one file?
Muhammad - try saving the results of each iteration to an array and then, once the last iteration has completed, write this arra...

11 years ago | 0

Answered
Cropping a circle.
gill11a - if your image is given by *myImage* then you could do something like the following to colour every pixel outside of th...

11 years ago | 0

Answered
??? Error using ==> cat , Dimension must be a finite integer ; and why orignal image was not displaying?
Manish - according to <http://www.mathworks.com/help/matlab/ref/cat.html cat>, the first input to this function should be the di...

11 years ago | 2

Answered
How to extract matching ranks
Mekala - before trying to understand what is causing the problem, you may want to do a couple of things first to simplify your c...

11 years ago | 0

Answered
How to read ranges
Kanakaiah - I would perhaps take your first table and re-build so that you have three columns: the first being the upper bound o...

11 years ago | 0

Answered
Graphic objects and XData and YData
Eric - if you are plotting one or more lines or objects created by <http://www.mathworks.com/help/images/ref/imline.html imline>...

11 years ago | 0

Answered
Initializing Array of Structures/Objects
Sven - why not use <http://www.mathworks.com/help/matlab/ref/arrayfun.html arrayfun> to _apply a function to each element in the...

11 years ago | 0

| accepted

Answered
Legend giving different colour
Saurabh - what can you tell us about the dimensions of *t_cell{i}* and *Act_6{i}*? Are both arrays, or are one or both matrices...

11 years ago | 2

| accepted

Answered
How to copy a graph from a figure window to an axis within a GUI?
Haitham - Consider using <http://www.mathworks.com/help/matlab/ref/copyobj.html copyobj> which will allow you to copy a graphics...

11 years ago | 2

| accepted

Answered
Export data from uicontrol objects in figures
Jasmine - have you used GUIDE to create your GUI? If so, you can use the *handles* structure to obtain the data from each of th...

11 years ago | 0

Answered
How to successfully run bubble analysis code
Alexander - when I run the software, the full error message is Cannot find an exact (case-sensitive) match for 'BS_GUIParam...

11 years ago | 1

| accepted

Answered
I need help with the encryption of a 140 character message
James - what have you tried so far? Please describe what you have attempted and where you are getting stuck. If it on the conv...

11 years ago | 0

Answered
Plotting data based on selected checkboxes
Vishnu - I think that part of the confusion with the check boxes being ordered bottom up rather than top down is because of how ...

11 years ago | 0

| accepted

Answered
Gui cannot find the listbox1 when I run the fig file
Ahmet - double-clicking on the figure file will *not* launch the GUI in a way that you can use it. All that you will observe, ...

11 years ago | 1

| accepted

Answered
Need to make a square pulse w/o a special function
Saurabh - why not use the <http://www.mathworks.com/help/matlab/ref/sin.html sine> and <http://www.mathworks.com/help/matlab/ref...

11 years ago | 1

Answered
How can we change the default size table in GUIDE?
Shil - in the *OpeningFcn* of your GUI, just set the *Data* property of the *uitable* to be a 2x2 cell array. Something like th...

11 years ago | 1

| accepted

Answered
Simplify this question about sine waves
Daniel - the question description describes the elements of *s1* as _the values of the sine function when it is given equally sp...

11 years ago | 0

| accepted

Answered
matrix multiplication of any 2 matrix in which a matrix contains a variable term suppose m=0:0.1:5.....how to do this multiplication for each value of m by creating a loop.....
Ujjwal - please describe how you are multiplying the above two matrices. Is it K*F or something else? If *m* is a varia...

11 years ago | 0

Answered
Can someone help me understand bubble sort.
Hussain - given the condition x(j) > x(j+1) the list is being sorted in ascending order (since the subsequent code repla...

11 years ago | 2

| accepted

Answered
Can I create several similar anonymous functions with loop and array
John - your functions will evaluate correctly even though you see each anonymous function as @(x)x^a(i) so there is no ne...

11 years ago | 1

| accepted

Answered
Move a scatter3 3D point around using a GUI slider?
David - you need to assign a callback to each of your sliders. Try the following - wrap all of your above code in a function bl...

11 years ago | 0

| accepted

Answered
Problems with GUI deleting handles before output function
Andrew - I created a simple GUI following your example (from above) and observed the same error message. I did notice that the ...

11 years ago | 1

| accepted

Answered
How to carry data to next push button in GUI
Aditya - just use the *handles* structure to manage the data that is created from one push button callback so that the others wi...

11 years ago | 0

Answered
How the gui edit text can change a loop in matlab script directly
Rohit - rather than using a MATLAB script, replace this with a function so that you can pass the number of iterations (presumabl...

11 years ago | 0

| accepted

Answered
Basic Excel Import Error
xander - the final quote on your *dirName* string is not the same as your starting quote. (It is a ’ and not a '.) Try changin...

11 years ago | 0

| accepted

Answered
Converting time using mod fungtion
okssa - it should be clear how to get the number of hours there are in the 243 minutes. Just use the fact that there are sixty ...

11 years ago | 0

Answered
for loop start from first operation if df=1?
Arunachalam - I think that you may be able to repeat the above if you use a *while* loop. Something like a = 1; while a <...

11 years ago | 0

Answered
WindowButtonMotionFcn error in voice processing
Alvaro - open the GUI figure in GUIDE. Open the *Property Inspector* for the figure *recvoc*. Scroll to the bottom of the list...

11 years ago | 1

| accepted

Load more