Why am I unable to compile functions from the Symbolic Math Toolbox?

11 views (last 30 days)
I need to compile the functions from the Symbolic Math Toolbox. When I try to execute a compiled application using these functions I receive the following error:
Undefined variable or function : sym
 

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Nov 2021
Edited: MathWorks Support Team on 24 Nov 2021
As of R2021b, the Symbolic Math Toolbox is supported with MATLAB Compiler.
For your information, a list of toolboxes and how they are supported by Compiler is shown here:
The following document shows an example of deploying "sym" functionality using Compiler:

More Answers (0)

Community Treasure Hunt

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

Start Hunting!