Answered
recursiveFileList function help please
Haziq = perhaps consider an alternative to *recursiveFileList* (since you don't have the code for it). See Jonathan Sullivan's ...

12 years ago | 0

Answered
undefined function 'timeoutDlg' errors out
Neesha - I suspect the problem is that your *timeoutDlg* function is no longer within the MATLAB search path. Try typing the fo...

12 years ago | 1

| accepted

Answered
How to use a timer to update real time data from Simulink?
Marc - presumably it is the code in your *pushbutton_read_Callback* that you wish to call periodically. Try to do the following...

12 years ago | 1

| accepted

Answered
How to use a GUI to set the polynomial level for a graph after examining the data
Vadim - since the *fit* function is expecting *poly5* then you will have to prepend *poly* to the result from the input dialog. ...

12 years ago | 3

| accepted

Answered
Adding help documentation (pdf) to standalone MatLab GUI?
Kushal - are you saying that the system('open'help.pdf') doesn't work when running the standalone application? Check <h...

12 years ago | 1

| accepted

Answered
having trouble to insert text in GUI table
Diogo - this may be a problem that is similar to <http://www.mathworks.com/matlabcentral/answers/169197-nan-elements-during-tabl...

12 years ago | 0

| accepted

Answered
Access of global array element not allowed
Andreas - the code you reference is to get the id for i=(1:N) get(JobStack(i), 'id'); end and not set the id. If ...

12 years ago | 0

Answered
Matlab help. How to add a file into matlab?
Lim - create a folder within your MATLAB search path, download the files, and copy them into this folder. Then add this folder ...

12 years ago | 1

Answered
how can i convert a colour image to binary format
Chenna - try converting the colour image to grayscale using *rgb2gray*, and then convert that to binary using <http://www.mathwo...

12 years ago | 1

Answered
Running an if function
AA - conditional control with an *if*, see <http://www.mathworks.com/help/matlab/learn_matlab/flow-control.html flow control> fo...

12 years ago | 2

| accepted

Answered
Problem with textscan function
Nataliia - it would have been easier if you attached a sample file, because it is unclear if there are more than the 8 columns t...

12 years ago | 1

Answered
how to interface mob cam in matlab
Tejas - you have named your script *imread.m* which conflicts with the built-in MATLAB function of the same name. (You even ref...

12 years ago | 1

Answered
Imread passing in callbacks
Dawid - if you are writing a variable to the base workspace using one callback function, then you will have to implement some co...

12 years ago | 1

Answered
Reconstuction of RGB image after embedding
Geboz - rather than updating the *redLsbVector* every time that you are changing a bit (because of the message), why not just up...

12 years ago | 1

Answered
Setting plot handle x,y,z data does not clear "old data"
A snippet of the code showed that the plot handle was being initialized and perhaps overwritten under certain conditions if(...

12 years ago | 2

| accepted

Answered
Attempted to access x(10); index out of bounds because numel(x)=2.
Kaushik - your *confun* function is defined as function [c, ceq] = confun(x) % Nonlinear inequality constraints c = [0...

12 years ago | 1

Answered
How to find the most minimum value of 100 minimum values?
Mohamed - if your *while* loop produces a minimum value in each iteration, then just save it to an array/vector. When the code ...

12 years ago | 2

| accepted

Answered
How to address the fields of a struct with function input arguments
Immelmann - to be clear, you have a number of structs that have been saved to individual files named (for example), *Struct_Nr1....

12 years ago | 0

Answered
binary addition for 128 bit
Radwa - try the following. There could be more efficient algorithms, but this is pretty straightforward. Just save all of the ...

12 years ago | 1

| accepted

Answered
Plotting the frequency spectrum / didnt understand the code
Qusay - let us assume the following concerning your signal, sampling rate (Fs), and FFT block size (N) Fs = 4096; ...

12 years ago | 0

| accepted

Answered
How could I add both each element number and nodecordinate in Figure?
If you wish to annotate a particular axes in your figure, then consider using the <http://www.mathworks.com/help/matlab/ref/text...

12 years ago | 1

Answered
Why are my GUI handles disappearing?
Or is it the order of operations? Does the *_OpeningFcn* get called before the *_CreateFcn* (for each control), or is it the ot...

12 years ago | 1

| accepted

Answered
how to find mean values?
Thodoris - your condition is to check whether the kth element of the second column is less than 0.01, and if so, then your *idx*...

12 years ago | 1

Answered
trying to get current point on a patch in the axes
Ehud - I think that what you want to do is to attach this callback to both your axes (like you are doing now) and to the patch o...

12 years ago | 1

Answered
MATLAB R2014a incompatible with YOSEMITE 10.10.1
Nguyen - please read the following link <http://www.mathworks.com/matlabcentral/answers/159016-is-matlab-compatible-with-mac-os-...

12 years ago | 0

Answered
datahex = sprintf('%02x', T1)??
Radwa - your *T1* is a string of characters, so the zeros and ones are characters. The ASCII code for a character 0 and charact...

12 years ago | 0

Answered
I need some help with Undefined function 'plot_button_Callback' for input arguments of type 'struct'.
Andrew - I've never had much luck passing data in this manner to the GUI (using GUIDE) so I'm not really sure if this is somethi...

12 years ago | 1

| accepted

Answered
I am trying to make a GUI that allows a user to push a button which smooths a column in a vector and plots the result on the axes. However my GUI
Captain Qwark - you indicate that the two vectors *N* and *time* are in your workspace...but you don't provide any way for your ...

12 years ago | 2

| accepted

Answered
How to find the sum of elements
Jimmy - you could code up an equivalent to *conv2* (and that would be a good exercise!) but how you are using this function in t...

12 years ago | 2

Answered
Ask for creating composite curve
David - how are you constructing the graph? What is the line of code that you are using? If you have two vectors for the y-a...

12 years ago | 1

Load more