Borrar filtros
Borrar filtros

Matlab Compiler and Unsupported Toolboxes

3 visualizaciones (últimos 30 días)
Bugra Alp Nas
Bugra Alp Nas el 16 de Abr. de 2019
Respondida: Walter Roberson el 16 de Abr. de 2019
Hey everybody,
My code has syms and sym lines. But they can't compiled. How can i fix them? Are there alternatives ?
Example:
syms x;
f = get(handles.edit1,'String');
k = str2double(get(handles.edit6,'String'));
f_1 = diff(sym(f));
f_2 = diff(sym(f_1));

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Abr. de 2019
Mathworks does not provide any alternative to this.
There is a third-party symbolic toolbox written in C++ that could be called upon by using loadlibrary(). It is a fair bit different than MATLAB's toolbox .
If you were to restrict what kind of functions the user could enter, then you could do your own string parsing and differentiation. This is relatively easy for true polynomials; it is not at all easy for things like the generalized 2F1 functions.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by