Answered
Strings from a text file to a matrix containing double precision floating numbers
Will think more about the harder question of formatting the numeric data but you could use the properties 'CommentStyle' and/or ...

13 years ago | 0

Answered
nonlinear constraints in fmincon
You could make a little wrapper around myfunc which maintains a previous value...or values function out = callMyfunc(arg1, ...

13 years ago | 0

Answered
find multiple words in a cell
A one-liner: cellfun(@(x)sum(ismember(A,x)), B)

13 years ago | 1

| accepted

Answered
Mesh for 3D plot
A bit more detail would help in giving a precise answer. Including some example data or an example of a surface could assist fo...

13 years ago | 0

Answered
Graph Updates but does not display Line
I wasn't able to run your code due to some undefined variables but here are a few thoughts: '-b' is specified as the lin...

13 years ago | 0

Answered
arguments in embedded coder
Moreover, using the same variable as an input and output may trigger an optimization which reduces copies in the generated code....

13 years ago | 1

Answered
Is there a way to turn off code for compilation with coder?
Hi Alan, The function coder.target() can be used to eliminate code from generation: if isempty(coder.target()) % ...

13 years ago | 1

Answered
Compiled version doesn't run - unknown function fetch
That error usually shows up when the call to |database| fails. To see why this is failing, the |Message| field of the connectio...

14 years ago | 1

| accepted