Answered

Save a video from video frames and text

The writevideo function can be used to write videos from an array to video file (.avi format supported). See this link: <ht...

Save a video from video frames and text

The writevideo function can be used to write videos from an array to video file (.avi format supported). See this link: <ht...

4 years ago | 0

| accepted

Answered

How can I save the content of the MATLAB web browser window programmatically? Not the same as WEBREAD....

Hi, Are you launching the MATLAB web browser with the 'web' command? <http://www.mathworks.com/help/matlab/ref/web.html#inpu...

How can I save the content of the MATLAB web browser window programmatically? Not the same as WEBREAD....

Hi, Are you launching the MATLAB web browser with the 'web' command? <http://www.mathworks.com/help/matlab/ref/web.html#inpu...

5 years ago | 3

Answered

How to compile mex files using gcc and makefiles

According to the documentation at <http://www.mathworks.com/help/matlab/ref/mex.html?refresh=true#btw193f-1> -compatibleAr...

How to compile mex files using gcc and makefiles

According to the documentation at <http://www.mathworks.com/help/matlab/ref/mex.html?refresh=true#btw193f-1> -compatibleAr...

5 years ago | 0

Answered

Ubuntu 16.04 graphics glitches in profiler

The error you mentioned usually comes when MATLAB does not have permissions to write to a particular folder. Try running your co...

Ubuntu 16.04 graphics glitches in profiler

The error you mentioned usually comes when MATLAB does not have permissions to write to a particular folder. Try running your co...

5 years ago | 0

Answered

R2016a guide starts with "do you want to create a question dialog" and crashes == solved

Can you try resetting the default settings with these commands and see if it helps? >> restoredefaultpath >> rehash tool...

R2016a guide starts with "do you want to create a question dialog" and crashes == solved

Can you try resetting the default settings with these commands and see if it helps? >> restoredefaultpath >> rehash tool...

5 years ago | 0

Answered

How can I have an "input argument" error without input ?

Can you show the function definition and the error? Are you sure you don't have multiple functions with the same name and that y...

How can I have an "input argument" error without input ?

Can you show the function definition and the error? Are you sure you don't have multiple functions with the same name and that y...

5 years ago | 0

Answered

Plotting graph on GUI (I can't comment on answers!! :( )

You will need to update the axes of your graph periodically and use a pause to let it refresh. Try running the following snip...

Plotting graph on GUI (I can't comment on answers!! :( )

You will need to update the axes of your graph periodically and use a pause to let it refresh. Try running the following snip...

5 years ago | 0

Answered

How to read pxt file from igor with Matlab?

You will need to use Activex to load them in Igor and export it to txt format for use in MATLAB: <http://www.mathworks.com/ma...

How to read pxt file from igor with Matlab?

You will need to use Activex to load them in Igor and export it to txt format for use in MATLAB: <http://www.mathworks.com/ma...

5 years ago | 0

Answered

Nested for loops optimisation

Try using the following links and practice some examples of vectorization: <http://www.mathworks.com/help/matlab/matlab_prog/...

Nested for loops optimisation

Try using the following links and practice some examples of vectorization: <http://www.mathworks.com/help/matlab/matlab_prog/...

5 years ago | 0

Answered

MinGW-w64 gcc compilier improperly linked with matlab libraries

You need to specify the library name with 'l' option: <http://www.mathworks.com/help/matlab/ref/mex.html#btx0rai-1> Also...

MinGW-w64 gcc compilier improperly linked with matlab libraries

You need to specify the library name with 'l' option: <http://www.mathworks.com/help/matlab/ref/mex.html#btx0rai-1> Also...

5 years ago | 0

Answered

create random-order list with items not repeating within 8 occurences

You could use this approach: 1. Create a empty cell array A A = {} 2. Go through the list looking for 1_x strings (usin...

create random-order list with items not repeating within 8 occurences

You could use this approach: 1. Create a empty cell array A A = {} 2. Go through the list looking for 1_x strings (usin...

5 years ago | 0

Answered

Compute the complement of a set of indices in a known range

Your approach with setdiff seems to be the best way because it is the simplest. I recommend you to use it.

Compute the complement of a set of indices in a known range

Your approach with setdiff seems to be the best way because it is the simplest. I recommend you to use it.

5 years ago | 1

Answered

I am getting this error Cell contents assignment to a non-cell array object..I m actually trying to create an array where the elements are functions

From the error you are getting it seems, that you are adding your functions to something that is not a cell array. I assume that...

I am getting this error Cell contents assignment to a non-cell array object..I m actually trying to create an array where the elements are functions

From the error you are getting it seems, that you are adding your functions to something that is not a cell array. I assume that...

5 years ago | 0

Answered

Instrcallback function and while loops

It seems you will need to define a property called 'ReadAsyncMode'. See this link: http://www.mathworks.com/help/instrument/w...

Instrcallback function and while loops

It seems you will need to define a property called 'ReadAsyncMode'. See this link: http://www.mathworks.com/help/instrument/w...

5 years ago | 0

Answered

Specifics for Using MinGW64 with Mx

Hi Raziel, Answers to your questions: 1. Do object files created using the MinGW compiler have the extension of '.obj' or ...

Specifics for Using MinGW64 with Mx

Hi Raziel, Answers to your questions: 1. Do object files created using the MinGW compiler have the extension of '.obj' or ...

5 years ago | 0

| accepted

Answered

C Mex crashes if array is too large

I think you should definitely try recompiling with -largeArrayDims. Also, paste a snippet of your code here.

C Mex crashes if array is too large

I think you should definitely try recompiling with -largeArrayDims. Also, paste a snippet of your code here.

5 years ago | 0

Answered

How do I manipulate a function for Euler's method to create a function for an improved Euler's method?

The following link describes the Euler method and the improved Euler method: http://www.math.ubc.ca/~israel/m215/impeuler/imp...

How do I manipulate a function for Euler's method to create a function for an improved Euler's method?

The following link describes the Euler method and the improved Euler method: http://www.math.ubc.ca/~israel/m215/impeuler/imp...

5 years ago | 0

Answered

Any example of Neural NetworkOnline training with n time step ahead ?

Hi Bikram, See the following link on Neural Network Time Series Prediction and Modeling with MATLAB: <http://www.mathworks...

Any example of Neural NetworkOnline training with n time step ahead ?

Hi Bikram, See the following link on Neural Network Time Series Prediction and Modeling with MATLAB: <http://www.mathworks...

5 years ago | 0

Answered

Is there a way to have multiple sorting of children?

At one time, for an axes object, you can only specify a single value for SortMethod. At render time, it has to be one of 'childo...

Is there a way to have multiple sorting of children?

At one time, for an axes object, you can only specify a single value for SortMethod. At render time, it has to be one of 'childo...

5 years ago | 1

Answered

Why Matlab doesn't use multiple cores on Windows server and on Win 7 does?

How did you determine that in Win Server 2012, only a single core is being used? Did this affect the performance of your script?...

Why Matlab doesn't use multiple cores on Windows server and on Win 7 does?

How did you determine that in Win Server 2012, only a single core is being used? Did this affect the performance of your script?...

5 years ago | 0

Answered

How do you load a .txt file into your workspace filled with only numbers from a push button?

You can load a file from a GUI with multiple options. As Geoff mentioned above, use uigetfile to select your file and then use t...

How do you load a .txt file into your workspace filled with only numbers from a push button?

You can load a file from a GUI with multiple options. As Geoff mentioned above, use uigetfile to select your file and then use t...

5 years ago | 0

Answered

Getting error -- Not enough input argument while run the code below

There are no function calls inside this function. Therefore, it seems that you are not passing enough arguments to the function....

Getting error -- Not enough input argument while run the code below

There are no function calls inside this function. Therefore, it seems that you are not passing enough arguments to the function....

5 years ago | 0

Answered

Matlab table to LaTeX, exporting the Matlab table as a figure

Try using this app from File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/44274-latextable

Matlab table to LaTeX, exporting the Matlab table as a figure

Try using this app from File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/44274-latextable

5 years ago | 1

Answered

print to pdf always give portirait figure

Did you try setting the PaperOrientation property to force 'landscape' mode?: http://www.mathworks.com/help/matlab/ref/figure...

print to pdf always give portirait figure

Did you try setting the PaperOrientation property to force 'landscape' mode?: http://www.mathworks.com/help/matlab/ref/figure...

5 years ago | 0

Answered

How to monitor the Java memory usage in matlab?

Take a look at this link: http://www.mathworks.com/matlabcentral/answers/95990-how-can-i-monitor-matlab-s-jvm-heap-memory-usa...

How to monitor the Java memory usage in matlab?

Take a look at this link: http://www.mathworks.com/matlabcentral/answers/95990-how-can-i-monitor-matlab-s-jvm-heap-memory-usa...

5 years ago | 0

Answered

How to read a custom file with data, and search and parse

fread is used to read from a binary file. Can you try using fscanf and fileread? http://www.mathworks.com/help/matlab/ref/fil...

How to read a custom file with data, and search and parse

fread is used to read from a binary file. Can you try using fscanf and fileread? http://www.mathworks.com/help/matlab/ref/fil...

5 years ago | 0

Answered

How to fix a simple callback function with a tcpip object?

Try replacing the line t.BytesAvailableFcn = 'dispcallback'; with set(t, 'BytesAvailableFcn', @dispcallback) In th...

How to fix a simple callback function with a tcpip object?

Try replacing the line t.BytesAvailableFcn = 'dispcallback'; with set(t, 'BytesAvailableFcn', @dispcallback) In th...

5 years ago | 0

Answered

Matrix output from a function to workspace

So, you have a function that computes three matrices. You can have it return 3 output arguments. You just need to modify the fun...

Matrix output from a function to workspace

So, you have a function that computes three matrices. You can have it return 3 output arguments. You just need to modify the fun...

5 years ago | 0

Answered

Table column date format vs. String

Are you using database tables? In that case you can try creating a table with 2 columns where each row corresponds to the same d...

Table column date format vs. String

Are you using database tables? In that case you can try creating a table with 2 columns where each row corresponds to the same d...

5 years ago | 0

| accepted

Answered

using summation within a function

The x + n part will only work if they are the same dimension. Can you please describe in detail what you are referring to as 'de...

using summation within a function

The x + n part will only work if they are the same dimension. Can you please describe in detail what you are referring to as 'de...

5 years ago | 0