Answered
Can anyone tell me why I am getting "Undefined function 'oobPredict' for input arguments of type 'dataset'"
William - the error message is telling you that the input parameter *test* is of type *dataset* which is invalid as an input par...

12 years ago | 0

| accepted

Answered
Link Error while using Matlab R2013a in MS VC++ 2013
Aresh - I think that your settings (as given above) are not quite correct. You mention that you added the following directories...

12 years ago | 0

Answered
Compiling MEX on Win7 x64
John - I don't have a 64-bit PC (only 32-bit) so can't comment on whether using Win SDK 7.1 will solve the problem, or whether a...

12 years ago | 0

Answered
problem with vector logic
Christopher - if you run the following code, the line Oneigh(r==1)=r; is probably generating the In an assignment A...

12 years ago | 0

Answered
Accessing Table from Workspace from Matlab Editor.
Davin - any code that you add to your question can be formatted so that is a easier to read. Just highlight the code portions a...

12 years ago | 0

| accepted

Answered
Screen capture area on UIpanel?
Hi Jason - perhaps I'm misunderstanding what you want, but if you want to create one image that is the combination (montage) of ...

12 years ago | 0

Answered
Change, save and load .m-file parameters through GUI
Maarten - is the function *Tbrk_Callback* a callback for the text field Tbrk, or is it for the push button? If it is the former...

12 years ago | 4

| accepted

Answered
Random Path Generation between source node and destination node
Reshdev - you can try something like the following to create a random path between a source and a destination node. functio...

12 years ago | 0

Answered
How to populate a list box with random files/folders in My Computer Directory through GUIDE createfunction OR how to add a file in my listbox through call back function
Suppose you have a button on your GUI (as developed in GUIDE) named (via its tag property) *addFileButton*, and suppose you have...

12 years ago | 2

| accepted

Answered
Trying to plot a checkerboard on a graph using rectangles and for loop.
Lex - your code creates two neighbouring squares, each of size 10x10. Suppose you just wanted to draw one full row given your x...

12 years ago | 0

Answered
Quandl API MATLAB issues
Davin - you seem to have three cell arrays of stocks. The set of all 500 stocks in *series*, the set of 100 NASDAQ stocks in *se...

12 years ago | 0

| accepted

Answered
Help with loading data in GUI
Assuming that you are using GUIDE to develop your GUI, suppose you have your callback for push button 1, tagged as *push1* as ...

12 years ago | 0

| accepted

Answered
Detection of Ctrl+C in M file
Ilkay - you can try the following which is taken from Loren Shure's blog entry <http://blogs.mathworks.com/loren/2008/03/10/keep...

12 years ago | 2

| accepted

Answered
Finding and Saving GUI axes' xdata ydata as Userdata
Raul - the *spectopo* function seems to make use of calls to *plot* (or at least, the version at <http://sccn.ucsd.edu/eeglab/al...

12 years ago | 1

| accepted

Answered
Assignin not working in a while loop within a GUI callback?
Michael - you've said that other callbacks that make use of *assignin* work, as does this one if you comment out the *while* loo...

12 years ago | 1

Answered
Making a Script as a Function... How to see variables in workspace?
Cole - you can put a breakpoint on the last line of code within your function. Then, execute the function (from the Command Win...

12 years ago | 1

| accepted

Answered
Need some help in solving these ODE's
Hi Joshua - while I haven't used *ode45*, I will try to give some hints at what may be causing the errors. The message *Not...

12 years ago | 0

| accepted

Answered
uipanel get and redraw image
Jason - If we follow through with what you started (in above) then MM=get(handles.uipanelM,'Children'); is the right ide...

12 years ago | 0

| accepted

Answered
how to trigger the microfone to record via GUI's pushbutton
John - no, the pushbutton's *UserData* property isn't what you will need to start the recording. One method is to use the <...

12 years ago | 1

| accepted

Answered
How can I read from a file into a char array?
Zachary - I think that you are on the right path using *fileread*. If I follow the <http://www.mathworks.com/help/matlab/ref/fi...

12 years ago | 2

Answered
Does MATLAB use Perl for Regexp?
John - you can run Perl scripts via the <http://www.mathworks.com/help/matlab/ref/perl.html perl> function. From this link, ...

12 years ago | 0

| accepted

Answered
help fast pls / buttondwnfcn
Max - according to <http://www.mathworks.com/matlabcentral/answers/94899-why-does-the-buttondownfcn-callback-not-execute-when-i-...

12 years ago | 0

| accepted

Answered
Whats wrong with in my code attached
Bhavz - as you have not specified any options (see <http://www.mathworks.com/help/gads/gaoptimset.html ga options>) then the def...

12 years ago | 1

| accepted

Answered
reading strings between spaces from a text file.
Rakesh - is it necessary that you treat all the data in the file as strings, especially since they appear (from your example) to...

12 years ago | 0

Answered
Plotting a matrix using colormap and imagesc and modifying colors
Nicole - there are probably several ways to do this, so here is one. Define your own color map as myColorMap = [0 1 0; ...

12 years ago | 0

Answered
build m x m matrix
Basheer - as *F* is a 1x3 matrix, the only multiplication with *eye(I)* that will succeed is when *I==1* (since that will be a 1...

12 years ago | 0

| accepted

Answered
How do I assign variables to coordinate values?
Jacob - once the user has entered the two example vectors, then both *point1* and *point2* are 1x3 arrays/vectors. If you wish ...

12 years ago | 0

Answered
Answer not giving me an array
Kraig - if you want the output to be an array, because you want an element-by-element division of the two rows, you need to pref...

12 years ago | 7

| accepted

Answered
Accessing cells of a cell
If *cellArray* is your cell array as shown above with one element, then to access that element just do data = cellArray{1}; ...

12 years ago | 0

| accepted

Answered
Why do I get a "not enough arguments" error when initializing a data set within a stack?
The code for the constructor (from above) % Constructor function [self] = Stack (n) % Initialize the stack self.dat...

12 years ago | 0

Load more