MATLAB Answers


Why does Matlab Builder Ja not support function 'solve'?

Asked by Aljoscha
on 22 May 2013

Hi, when I try to use the function solve('a+b=c',b) in a Matlab function that I build into a java function, I get an error when I execute it ("Undefined function 'solve' for input arguments of type 'char'."). When I execute the function in Matlab it works just fine.

It seems that the function does not get included even though it's a normal Matlab function


1 Answer

Answer by Walter Roberson
on 22 May 2013
 Accepted answer

None of the functions in the Symbolic Toolbox can be compiled. It is not a normal MATLAB function, it is a call into the Symbolic Toolbox, which is not written in MATLAB.


on 23 May 2013

Thank you. Hm thats too bad. What about other Toolboxes, like the Optimization Toolbox? Are all those not compilable or is there an overview of which are and which are not somewhere?

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today