MATLAB code runs but it throws error once compiled.
조회 수: 3 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (2개)
BhaTTa
2024년 12월 8일
If the error is coming from legendreP() function please refer: https://www.mathworks.com/matlabcentral/answers/373317
댓글 수: 0
Walter Roberson
2024년 12월 8일
legendreP is part of the Symbolic toolbox. Nothing in the Symbolic toolbox can be compiled.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!