I expect that what you want is not as simple as this, but as an initial guess at what you are looking for, try this.
I don't believe that you can get pretty LaTex equations in a menu.
choice = menu(sprintf('%s\n%s', 'x = 3*t - t^3', 'y = 4*t^2'), 'Plot trajectory', 'Calculate acceleration')
1 Comment
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/704272-how-to-print-mathematical-equations-in-menu#comment_1232657
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/704272-how-to-print-mathematical-equations-in-menu#comment_1232657
Sign in to comment.