Answered
How to I break out of this loop?
Maria - use <http://www.mathworks.com/help/matlab/ref/feof.html feof> which is the test for the end of file as while ~feof(f...

10 years ago | 0

Answered
İ can't create this photo in matlab.
Ibrahim - the (first) error message is clear Error using visualRF (line 66) Not enough input arguments. You are calling...

10 years ago | 0

| accepted

Answered
How can i use CellSelectionCallback correctly?
Alvindra - why are you using the property *UserData* when trying to access data in your table? dataseleksi=get(handles.myTab...

10 years ago | 1

| accepted

Answered
Adding axes title using my GUI popupmenu
Sophie - if we assume that your GUI has (at least) a popup menu and an axes (and that the GUI has been created in GUIDE), then I...

10 years ago | 0

| accepted

Answered
Create a "Pause" button in the waitbar function - GUI
alty - naming your function *waitbar* which is the same name as the built-in MATALB function is not a good idea, so you will wan...

10 years ago | 0

Answered
How to flush out all variables before each iteration
Mekala - why do you have one hundred variables? Can't you use an array or matrix to store all of this data in one convenient va...

10 years ago | 1

| accepted

Answered
Understanding guidata and handles
Josh - since you are programmatically creating your GUI, you could avoid the use of the *handles* structure and calls to *guidat...

10 years ago | 0

Answered
Trying to create .c file, Variable 'complexMat22' is not fully defined on some execution paths.
Shimmy - the error message is telling you that the variable *complexMat22* is not being defined for all execution paths. It seem...

10 years ago | 2

Answered
Error occur when open from other gui (Error while evaluating uicontrol Callback)
Sam - the error is due to how you are opening your second GUI. The line of code open calculator.fig; opens the figure *...

10 years ago | 0

| accepted

Answered
how to save data available in gui edit text into .mat file + how to load this .mat file which contains the values saved from each edit text
Ali - at which point do you want to save the data? Is there a pushbutton that the user presses which will save the data from al...

10 years ago | 0

Answered
Performing a parametric sweep in Matlab
Joseph - given that you have two variables, I suspect that you will want to iterate over each one using two *for* loops. Perhap...

10 years ago | 0

Answered
Error converting function handle to double?
Pizza Pie - the full error message is The following error occurred converting from function_handle to double: Error using ...

10 years ago | 0

Answered
Counting iterations in a while loop
To count the number of iterations in your *while* loop, define a local variable that is incremented for each iteration of the lo...

10 years ago | 4

| accepted

Answered
command to create array and graph
Laura - yes, the command a = [16 456 22 85 93;11 78 310 62 36;1 66 23 67 405] will create the 3x5 matrix. To extract a...

10 years ago | 1

Answered
Dot name reference on non-scalar structure.
mila - the problem is with the line of code particle.Best.Position *particle* is an array of structures where each struct...

10 years ago | 0

Answered
Reference to non-existent field 'N'. Error in MAIN>RECOGNITION_Callback (line 241) rec=handles.N; Error in gui_mainfcn (line 96) feval(varargin{:}); Error in MAIN (line 42) gui_mainfcn(gui_State, varargin{:}); Error in @(hObject,event
Chaitanya - it seems that you are trying to launch a GUI that (perhaps) reads an image from a file. How are you launching the G...

10 years ago | 0

| accepted

Answered
I need help with gui
Luke - according to <http://www.mathworks.com/help/matlab/ref/msgbox.html msgbox>, the input to this function must be a characte...

10 years ago | 1

| accepted

Answered
I want to display the results shown in command window by clicking push button
mania - your function will have to return the string data (that is currently being written to the console) so that the pushbutto...

10 years ago | 0

Answered
how to remove the following error-Attempt to execute SCRIPT Deblurring_Main as a function:
prachi - I suspect that you are trying to pass in one or parameters to the *Deblurring_Main.m* script as if it were a function. ...

10 years ago | 0

Answered
Entering coordinates through keyboard then matlab states the point in the plot
eslam - if your GUI has been created with GUIDE, then use the *Add Pole* or *Add Zero* pushbutton callback to read the data from...

10 years ago | 0

Answered
calcuer the disstance between all points
brini - if *o1* and *o2* are the x and y coordinates respectively of your five points, then your distance calculations can simpl...

10 years ago | 0

| accepted

Answered
Close prompt dialog box after hitting OK
monkey_matlab - try removing the *uiwait* and *uiresume* calls as I don't think that they are needed in this case. The *clos...

10 years ago | 1

| accepted

Answered
GUI - Plotting graph iteratively
Ellis - where in your code do you try to update *axes1*? You may need to add a <http://www.mathworks.com/help/matlab/ref/drawno...

10 years ago | 0

Answered
.dll files are not running in matlab.
Mohammad - are you loading this shared library into MATLAB? Is this a C/C++ library? See <http://www.mathworks.com/help/matlab/...

10 years ago | 0

Answered
Best way to save a lot of user choices as variables in a GUI
Manuel - I think that saving the data (IDs or small matrices) to the *handles* structure is a good/typical way forward. See <ht...

10 years ago | 0

| accepted

Answered
How do you get the keypressfcn to register the user pushing enter, and only play the following code once they push enter?
Mark - note the code for the *textbox_h* control textbox_h = uicontrol('style', 'edit', 'units', 'normalized', 'position', ....

10 years ago | 0

| accepted

Answered
How to send data from graph to table in GUI
Muhammad - what graph data to you want to send the table? At what point will this data be sent? Please clarify the data and th...

10 years ago | 0

| accepted

Answered
How do i reset gui to initial state while runtime?
Farhan - in the callback for your reset button, you would reset the state of each control to whatever it's default or initial st...

10 years ago | 0

Answered
Is it possible to create a pixel drawing grid?
Barayams - yes, it is possible to create a grid that will allow you to turn on or off the pixels (or pxp squares that represent ...

10 years ago | 0

| accepted

Answered
How can I correct this : Invalid syntax at '='. Possibly a ), }, ] is missing in line 6
kawthar - I notice that you have several line separators in your code (the three periods, '...'). If these are being used, then...

10 years ago | 0

Load more