Answered

Protobuf crashes Mex-file

It appears that this a more generic limitation of protocol buffers, see for example: https://github.com/protocolbuffers/protobu...

Protobuf crashes Mex-file

It appears that this a more generic limitation of protocol buffers, see for example: https://github.com/protocolbuffers/protobu...

1 month ago | 0

Answered

How is f(x) evaluated for each iteration using fsolve?

The values shown under f(x) in the iteration table are indeed not literally the function values at that given iteration, you are...

How is f(x) evaluated for each iteration using fsolve?

The values shown under f(x) in the iteration table are indeed not literally the function values at that given iteration, you are...

1 year ago | 1

| accepted

Answered

Has anyone else encountered the JDBC Daylight Savings Time bug?

This conversion actually happens inside the JDBC driver and what it probably does is assume that the date/time which you specifi...

Has anyone else encountered the JDBC Daylight Savings Time bug?

This conversion actually happens inside the JDBC driver and what it probably does is assume that the date/time which you specifi...

1 year ago | 1

Answered

I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?

Importing data from Excel can be done using the “readtable” function. For example, to read all data from myfile.xls: T =...

I have 2 columns and 10 rows of numerical data in my excel file. How to import this data in to MATLAB and then plot it?

Importing data from Excel can be done using the “readtable” function. For example, to read all data from myfile.xls: T =...

1 year ago | 9

| accepted

Answered

How do I change styles in a Word through actxserver.

In COM/VBA there is a concept called "default member", which is the member that gets called if you do not specify a specific met...

How do I change styles in a Word through actxserver.

In COM/VBA there is a concept called "default member", which is the member that gets called if you do not specify a specific met...

1 year ago | 0

Answered

Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'

This issue may be related to a version conflict between system libraries and the libstdc++ version included with MATLAB. You may...

Can't reload '/usr/local/matlab-res.2015b/bin/glnxa64/libmwosgserver.so'

This issue may be related to a version conflict between system libraries and the libstdc++ version included with MATLAB. You may...

2 years ago | 5

Answered

OpenMP Mex files : static TLS problem

If you want to make use of OpenMP, please follow this workflow: <https://www.mathworks.com/matlabcentral/answers/237411-can-i...

OpenMP Mex files : static TLS problem

If you want to make use of OpenMP, please follow this workflow: <https://www.mathworks.com/matlabcentral/answers/237411-can-i...

2 years ago | 1

Answered

Getting Error on WebFigure

Please do not compile the example by running |compileVarArgServletDemo| in the $MATLABROOT\toolbox\javabuilder\Examples\jav...

Getting Error on WebFigure

Please do not compile the example by running |compileVarArgServletDemo| in the $MATLABROOT\toolbox\javabuilder\Examples\jav...

3 years ago | 0

Answered

Setting Y-Limits of a target scope using Simulink Real-Time Explorer

The issue which you are seeing appears to be a bug in the real-time explorer when working with a locale which uses comma as deci...

Setting Y-Limits of a target scope using Simulink Real-Time Explorer

The issue which you are seeing appears to be a bug in the real-time explorer when working with a locale which uses comma as deci...

3 years ago | 0

| accepted

Answered

Dominating Frequencies of FFT and Lomb Periodogram do not agree - Why?

It does not look like there is anything with how you visualize the results. The results really are different because you use two...

Dominating Frequencies of FFT and Lomb Periodogram do not agree - Why?

It does not look like there is anything with how you visualize the results. The results really are different because you use two...

4 years ago | 0

| accepted

Answered

Seeing gray pixels when plotting a binary image (> 1024 x 1024 pixels)

This is an issue which may occur in MATLAB R2015a when working with the OpenGL renderer in software mode. If possible try switch...

Seeing gray pixels when plotting a binary image (> 1024 x 1024 pixels)

This is an issue which may occur in MATLAB R2015a when working with the OpenGL renderer in software mode. If possible try switch...

4 years ago | 0

Answered

Hoe to get size of returned array from C#

1. If you have a multidimensional array (like |Double[,,,]|) and not a Jagged array (like |Double[][][][]|), you should be able ...

Hoe to get size of returned array from C#

1. If you have a multidimensional array (like |Double[,,,]|) and not a Jagged array (like |Double[][][][]|), you should be able ...

4 years ago | 0

| accepted

Answered

MATLAB fails to execute line with uigetfile-- why?

It looks like you are running into the bug which is described here: https://www.mathworks.com/support/bugreports/895795 Th...

MATLAB fails to execute line with uigetfile-- why?

It looks like you are running into the bug which is described here: https://www.mathworks.com/support/bugreports/895795 Th...

5 years ago | 1

Answered

Matlab 2013b does not have websave function?

WEBSAVE was introduced in MATLAB R2014b. Please have a look at the URLWRITE function for MATLAB R2013b.

Matlab 2013b does not have websave function?

WEBSAVE was introduced in MATLAB R2014b. Please have a look at the URLWRITE function for MATLAB R2013b.

5 years ago | 3

| accepted

Answered

errors in making standalone program using matlab 2013b

Errors like the one shown above occur when an application encounters a different tbb.dll version than expected. So the important...

errors in making standalone program using matlab 2013b

Errors like the one shown above occur when an application encounters a different tbb.dll version than expected. So the important...

5 years ago | 2

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

5 years ago

Answered

MCR 7.17 memory leak when used from Java

The problem here is with the anonymous MWArrays which you are creating to fill the struct array with. I will try to explain this...

MCR 7.17 memory leak when used from Java

The problem here is with the anonymous MWArrays which you are creating to fill the struct array with. I will try to explain this...

6 years ago | 1

| accepted

Solved

All capital?

Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0

7 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

7 years ago

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

7 years ago

Solved

The Hitchhiker's Guide to MATLAB

Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

7 years ago

Answered

Does Matlab R2011a DAQ toolkit support NI USB 6210?

According to the support hardware pages: http://www.mathworks.nl/products/daq/supported/ni-daqmx.html This device is indee...

Does Matlab R2011a DAQ toolkit support NI USB 6210?

According to the support hardware pages: http://www.mathworks.nl/products/daq/supported/ni-daqmx.html This device is indee...

7 years ago | 0

Answered

Access violations in base MATLAB code

These exceptions are most probably coming from the JIT in the JRE so what you could try is running MATLAB without Java. To do so...

Access violations in base MATLAB code

These exceptions are most probably coming from the JIT in the JRE so what you could try is running MATLAB without Java. To do so...

7 years ago | 0

Solved

The Answer to Life, the Universe, and Everything

A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

7 years ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

7 years ago

Answered

Parallel Computing and Save function

The <http://www.mathworks.com/help/toolbox/distcomp/labindex.html |LABINDEX|> function returns the index of the worker. You shou...

Parallel Computing and Save function

The <http://www.mathworks.com/help/toolbox/distcomp/labindex.html |LABINDEX|> function returns the index of the worker. You shou...

7 years ago | 4

| accepted

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

7 years ago

Answered

Error when using decsg (PDE Toolbox)

Please make sure that your input matrix is valid. For example if it defined polygons, please make sure it does not contain any d...

Error when using decsg (PDE Toolbox)

Please make sure that your input matrix is valid. For example if it defined polygons, please make sure it does not contain any d...

8 years ago | 0

| accepted