Why am I unable to compile functions from the Symbolic Math Toolbox?
13 views (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Commented: Song-Hyun Ji
on 13 Jun 2023
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
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:
1 Comment
Song-Hyun Ji
on 13 Jun 2023
Here is another example to deploy when using 'syms' and 'solve' together when needed to use input argument to consist the equation.
More Answers (0)
See Also
Categories
Find more on Symbolic Variables, Expressions, Functions, and Preferences in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!