Answered
Issue with importing excel files
Matthew - the problem isn't with the single quotes in your cell input, but with the *str2double*. Since you are passing a cell ...

12 years ago | 0

| accepted

Answered
fprintf varaibles to a text file does not add cr/lf so text wraps
Robert - if you want a line break for each "assignment", then you will need to add it after each numeric input. Try adding *\n*...

12 years ago | 0

| accepted

Answered
rotate3d and ButtonDownFCN simultaneously active for two separate axes
Patrik - you could try using the *rotate3d* filter callback to decide whether to allow the rotation to occur, or to allow the ob...

12 years ago | 0

| accepted

Answered
mexCallMATLAB crashes for dynamically allocated mxArrays
AP - even if I compile the code without the call to *Reduce* in your *mexFunction*, the program still crashes (compiled on R2014...

12 years ago | 0

Answered
Help with SelectionChangeFcn (or how to define the callback function to trigger a specific response)
Ismael - you can try nesting your callback within your function that creates the GUI. A benefit of nested functions is that the...

12 years ago | 1

| accepted

Answered
problem with overlapping of axis of loaded fig-files in GUI
Otto - you could try using <http://www.mathworks.com/help/matlab/ref/clf.html clf> which clears the current figure window, delet...

12 years ago | 0

Answered
Display variable in GUI screen
Scott - if I run your code as name = 42; x = sprintf(' %2d',name); text(200,300,x,'fontsize',40); then a figure appea...

12 years ago | 0

Answered
"Not enough input arguments" Help Don't understand why?
Liam - according to the documentation for <http://www.mathworks.com/help/matlab/ref/fzero.html fzero>, the input function handle...

12 years ago | 1

| accepted

Answered
Create .gif without displaying each frame
Tom - your *for* loop looks something like ... snap_traj = 'snap_traj.gif'; for i = 1:killer_catchframe-Killer_1stmov...

12 years ago | 0

Answered
??? Subscripted assignment dimension mismatch.
Fred - the error message is telling you that there is a dimension mismatch between the variables that are being assigned at ...

12 years ago | 0

| accepted

Answered
How to solve Attempted to access (0) error.?
Nimisha - unlike C/C++, indexing into MATLAB arrays begins at one instead of zero. Since your code is iterating (over *m*) from...

12 years ago | 0

| accepted

Answered
i'm working with image ,i cant load 512*512 image
Farjana - the error message is occurring because of the line of code a=N(i,j,3); which is trying to access the third dime...

12 years ago | 0

| accepted

Answered
Drop-down menu Callback
Scott - at what point does the second figure launch? Are you destroying/closing the first figure before opening the second, or ...

12 years ago | 1

Answered
showing error This still showing error like... Error in imshow (line 198) [common_args,specific_args] = ... Error in' roi_demo (line 31) imshow(sprintf('C:\Users\shraddha\Documents\MATLAB\Snaps\%d.png',k)) >>'
Shraddha - you should include the complete error message when posting your question. Looking at your code, if I were to try and ...

12 years ago | 0

Answered
how to display multiple image in one figure window
Shraddha - see <http://www.mathworks.com/help/matlab/ref/subplot.html subplot> to create multiple axes on one figure/window, and...

12 years ago | 4

Answered
Issue in my class?
pachu - yes, you have included a property named *XY* but then you have another property that references it in the property list ...

12 years ago | 0

| accepted

Answered
Problem in using mxSetPr
AP - the documentation for <http://www.mathworks.com/help/matlab/apiref/mxsetpr.html mxSetPr> indicates that for the second inpu...

12 years ago | 1

| accepted

Answered
how to use xlsread for creating new matrices?
Maryam - please clarify what you mean by your 1000 files being named *H*. Are your files named H(1).xlsx, H(2).xlsx, etc.? If ...

12 years ago | 0

Answered
Attempted to access pad_org(1,343); index out of bounds because size(pad_org)=[544,342].
Vetri - your *window* vector is of size 25x1, and your innermost *for* loop iterates, with the index *l*, from one to 5 (25/5). ...

12 years ago | 0

| accepted

Answered
How to read and store greyscaleimage into single matrix?
Subha - if all images are of the same dimension, 19x19, then you can save all of them to a single array of size 19x19x2429. Try...

12 years ago | 1

| accepted

Answered
Matlab R2014b with OS X Yosemite Issue
Austin - try changing the *numb* to the full property name *NumberTitle*. So line 398 of *pplane8* would become ppset = fig...

12 years ago | 2

| accepted

Answered
Changing axes limits in a while loop
David - it is my understanding that whenever the *plot* function is invoked, then it resets certain properties of the axes that ...

12 years ago | 0

| accepted

Answered
How to tell a loop to wait for an iteration?
Nancy - I don't think that you can _tell_ Excel to wait until it has enough rows. You may have to continually query for this dat...

12 years ago | 1

| accepted

Answered
How to load N images in 4 axes GUI Matlab
delila - I think that you can just switch/swap the data from each axes before you load the newest image into axes1. For example...

12 years ago | 1

| accepted

Answered
merge and displace the data and save into txt file
Nam - try importing the data into a matrix using <http://www.mathworks.com/help/matlab/ref/importdata.html importdata> as in...

12 years ago | 0

| accepted

Answered
Using dir with multiple wildcards for directories
Leo - look in the File Exchange for a recursive directory listing submission. One such example is <https://www.mathworks.com/ma...

12 years ago | 1

| accepted

Answered
send data by serial port
Dao - how and where in your GUI have you initialized *s*? Based on the error message and the fact that *s* is declared as a glo...

12 years ago | 0

| accepted

Answered
How to find all valid calling syntax's?
Andrew - determining the different ways to call a function (calling syntax) can depend on how the function is written. For exam...

12 years ago | 0

| accepted

Answered
How to callback a pushbutton so code executes once pressed on GUIDE?
Tamfor - what is the process flow of your GUI? Does the user select some items in the listbox, and then presses the *start1* bu...

12 years ago | 1

| accepted

Answered
How to send data from matlab to arduino?
Opin - you will need to download the <http://www.mathworks.com/hardware-support/arduino-matlab.html Arduino Support Package from...

12 years ago | 0

Load more