how can I run MuPAD from MATLAB Editor?
Show older comments
how can I run MuPAD from MATLAB Editor?
Answers (1)
Walter Roberson
on 26 Apr 2012
0 votes
You cannot run MuPAD from the editor.
MuPAD is the name of the software behind the Symbolic Toolbox. To get anywhere with MuPAD, you need to have the Symbolic Toolbox installed and licensed. The Symbolic Toolbox is included in the license for the Student Edition, but not for the Academic or commercial edition.
If you use a MATLAB command that calls upon the MuPAD software (such as "syms" or "solve") then MATLAB will automatically attempted to start MuPAD, and you will not need to do anything to use those commands.
You can use the MATLAB interface to MuPAD by typing commands at the MATLAB command line, or in scripts or in functions.
4 Comments
Talal
on 26 Apr 2012
Walter Roberson
on 26 Apr 2012
MuPAD does have some native graphics, but that graphics is not designed to integrate with MATLAB GUIs. Usually you would calculate data and return it to the MATLAB level and plot it within MATLAB. The functions of the Symbolic Toolbox return symbolic numbers or symbolic expressions rather than floating point numbers, but you can use double() to convert symbolic numbers (and constant expressions) to floating point numbers.
Often you would use MuPAD to work out a symbolic formula, and then use matlabFunction() to convert the symbolic formula to a MATLAB function handle, and then use the function handle to process the data (and then plot it.)
Do you definitely need to use one of the MuPAD plot:: routines to create your lines? If so, which are you using?
http://www.mathworks.com/help/toolbox/mupad/stdlib/plot.html
Talal
on 26 Apr 2012
Walter Roberson
on 27 Apr 2012
What difficulties did you encounter when you tried to use plot3() in MATLAB itself?
Categories
Find more on Functional Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!