Why am I unable to compile functions from the Symbolic Math Toolbox?
30 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2009 年 6 月 27 日
編集済み: MathWorks Support Team
2024 年 11 月 6 日
I need to compile the functions from the Symbolic Math Toolbox. When I try to execute a compiled application using functions from the Symbolic Math Toolbox such as "syms", "solve" or "vpasolve" I receive the following error:
Undefined variable or function : sym
採用された回答
MathWorks Support Team
2024 年 11 月 4 日
編集済み: MathWorks Support Team
2024 年 11 月 6 日
As of R2021b, the Symbolic Math Toolbox is supported with MATLAB Compiler.
However, the creation of symbolic expressions such as "sym", "syms", and "str2sym" is not supported in deployed apps. For more information on how to put symbolic expressions in deployed apps, please refer to Deploy Generated MATLAB Functions from Symbolic Expressions with MATLAB Compiler
Please refer to the the supported toolboxes for
for more information.
1 件のコメント
Song-Hyun Ji
2023 年 6 月 13 日
Here is another example to deploy when using 'syms' and 'solve' together when needed to use input argument to consist the equation.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!