How to output a sym to a msgbox

1 visualizzazione (ultimi 30 giorni)
F
F il 20 Feb 2023
Risposto: Walter Roberson il 20 Feb 2023
I have a polynomial and adding it in app designer. How to have a final output of msgbox(answer). I always get an error that it needs to be cell or char

Risposte (1)

Walter Roberson
Walter Roberson il 20 Feb 2023
char() of a sym will produce a representation of the symbolic expression. Be aware that the representation is intended to be human readable but will not always be executable code and in some cases can misrepresent the expression. If you need executable code then use matlabFunction

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by