MATLAB code runs but it throws error once compiled.

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!

Respuestas (2)

Walter Roberson
Walter Roberson el 8 de Dic. de 2024
legendreP is part of the Symbolic toolbox. Nothing in the Symbolic toolbox can be compiled.

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 2 de Mayo de 2020

Respondida:

el 8 de Dic. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by