Answered
how to get data and set into table in guide
mohammad - depending upon the dimensions of your table, you would update it in much the same way as updating the static text co...

9 years ago | 1

| accepted

Answered
GUIDATA does not trasfer data in GUIDE with subfunctions.
Alborz - your code has interesting approach by assigning the *ButtonDownFcn* to the line object so that when the user presses do...

9 years ago | 0

| accepted

Answered
how to print 100 iteration from 17000 iteration ?
mohamed - if you wish to print every hundredth or thousandth iteration, then you could do something like for k=1:17000 ...

10 years ago | 1

Answered
How can I output a 2 column matrix from a function?
Zachary - your function is outputting two columns of 100 elements each (given your example *t*). So you would call this functio...

10 years ago | 1

| accepted

Answered
Matlab gui not responding to the button press or keypress.
Ravikiran - I suspect that the problem is with your *while* loop as it isn't interruptible and so any other action, like pressin...

10 years ago | 0

Answered
want to stop the value at certain value in for loop
abdalrhman - if you want to exit out of your loop once the tolerance is less than zero, then put in a condition to do so ...

10 years ago | 0

| accepted

Answered
How to relate pushbutton with popup menu while plotting multiple graphs on a same figure?
Arsala - if you are using GUIDE, then use the *handles* structure that is passed into the push button callback to determine whic...

10 years ago | 1

| accepted

Answered
Trouble with function called from a GUI callback fonction
Claude - look closely at the order in which *handles* is updated. The function CallbackFunction(hObject, eventdata, handles...

10 years ago | 0

| accepted

Answered
How do I generate a random number between two numbers, "n" number of times?
Uriel - see <https://www.mathworks.com/help/matlab/ref/rand.html rand> and in particular the *Random Numbers Within Specified In...

10 years ago | 0

Answered
send variable to workspace
ihab - if there are variables in your function that you wish to return with your function, then update the output parameter list...

10 years ago | 0

Answered
place array in a matrix
Perhaps I'm misunderstanding but if x = [1.0000 0 0.5000 1.0000 0.5000 1.5000 0 -1...

10 years ago | 1

| accepted

Answered
Hi! I need help with how I put an input in this program!
Anthony - which *n* terms? Or do you only want the program to iterate for at most *n* times? If this is true, then just take y...

10 years ago | 0

Answered
How can I plot the x in a Ax=b linear eq-system (A=3x3) when A varies?
Alexander - what are the three components of *x*? Does your function allow for *L* to be an array or is it expecting just a sca...

10 years ago | 0

Answered
Plotting an LTI response. Keeping getting error "Attempted to access x(72); index out of bounds because nume1(x)=71."
Justin - your *for* loop looks like for ii = 1:length(n) and so *ii* is in the interval [1,71] (since that is the length...

10 years ago | 0

Answered
Error with Difference line
Manish - is the error message *Unbalanced or unexpected parenthesis or bracket.*? If so, look closely at this line of code ...

10 years ago | 0

Answered
Waves of a string
Toyese - your comment is correct. The problem is with the *i+2* and the *i-2*. Consider your code in the *realistic* function ...

10 years ago | 0

| accepted

Answered
How to get last two bits except for LSB from audio signal in MATLAB?
ayesha - if lsb=1; and dta(index)=bitset(dta(index),lsb,msg_bin(1:len)'); sets the least significant bit (lsb), th...

10 years ago | 1

Answered
hi my task is i have to split a video into frames and then the frames should color procssed from RGB to CMY and grouped up to create a negative videp...im getting errors can anyone help me ..??
Chandrasekhar - what errors are you observing? Please copy and paste the full error message to your question. One problem ma...

10 years ago | 0

| accepted

Answered
How matlab display data from database in gui edit box
Gytis - if you want to retrieve the text from your edit1 and edit2 controls, then in the above pushbutton callback you would use...

10 years ago | 0

| accepted

Answered
A user is prompted to enter a value between a range, how would I display in a message box the calculated value for that entered value?
Mercedes - please format your code so that it is readable. As it is written now, it is unclear how it can run successfully with...

10 years ago | 0

Answered
Newton-Raphson Method using a WHILE Loop. Help?
EJ - please clarify what you mean by _It just will not work correctly_. Does the code produce an incorrect answer? Or does the...

10 years ago | 0

| accepted

Answered
How to convert excel data to text file using file handling or any suitable method in editor window only?
Shlok - your code includes the lines class={text65,text66,text67,text68,text69,'total',text97; text78,text70,text74...

10 years ago | 0

Answered
setappdata and getappdata issues in matlab gui
Ria3242 - since you are using GUIDE to create your GUI, then just use the *handles* structure to store the password count. Ever...

10 years ago | 0

| accepted

Answered
How do you change the X-axis to update in real time on a plot in a live data acquisition GUI?
Eamon - perhaps the *hold* isn't being applied to the second axes when both are being updated. Try being explicit about which a...

10 years ago | 0

| accepted

Answered
Change in matrix without re-writing
Rand - since the 7 is in the fourth column of the second row, then the easiest way to change this to an 8 is as follows M(2,...

10 years ago | 0

| accepted

Answered
Build a matrix where each column of the image is a single color
Sarah - what is your intent with the line of code mycolormap = reshape([row1;row2;row3], 1, 3, 3); where you only use th...

10 years ago | 0

Answered
Saving edit toolbox into mat file
Hazel - since you just want to get the values that have been written to the text controls, just do something like the following ...

10 years ago | 0

Answered
How to use one GUI to call many other GUI
Aloysius - what are the _options_? Do you have radio buttons that the user selects which is supposed to launch the new GUI, or ...

10 years ago | 0

| accepted

Answered
gui error: Struct contents reference from a non-struct array object
Ria3242 - typically, this type of error is due to the GUI not being launched correctly. If you launch the GUI using the *fig* f...

10 years ago | 5

| accepted

Answered
pushbutton in gui for space bar
Shreyas - according to <https://www.mathworks.com/help/matlab/ref/strcat.html strcat>, for _ character array inputs, strcat remo...

10 years ago | 1

| accepted

Load more