MATLAB code runs but it throws error once compiled.

9 ビュー (過去 30 日間)
Demian Augusto Vera
Demian Augusto Vera 2020 年 5 月 2 日
回答済み: Walter Roberson 2024 年 12 月 8 日 10:14
Hi, everyone. I made a program that seems to work as I expected (when I run .m file from the editor), but when I try to use it in the GUI/compiled version, it crashes. I debugged it and as I can see, the problem comes from calling a function that uses the legendreP() built-in function. I don't know how to fix, since that's the only built-in functions that fails.
Thank!

回答 (2 件)

BhaTTa
BhaTTa 2024 年 12 月 8 日 7:53
If the error is coming from legendreP() function please refer: https://www.mathworks.com/matlabcentral/answers/373317

Walter Roberson
Walter Roberson 2024 年 12 月 8 日 10:14
legendreP is part of the Symbolic toolbox. Nothing in the Symbolic toolbox can be compiled.

カテゴリ

Help Center および File ExchangePolynomials についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by