MathML Visualization

Types the MathML code of a mathematical expression and displays it in a webbrowser.
2.5K Downloads
Updated 31 Mar 2016

View License

Content of "help MML":
MML types the MathML code of a term and displays it in a webbrowser.

MML displays the current content of the global variable ANS in the system's standard webbrowser.

MML(TERM) displays TERM in the system's standard webbrowser.

MML(OPTION) displays the current content of the global variable ANS according to the display parameter OPTION.

MML(TERM,OPTION) displays TERM according to the dispaly parameter OPTION.

TERM can either be a syntactically valid symbolic or non-symbolic MATLAB expression or a string containing a syntactically valid symbolic or non-symbolic MATLAB or Maple expression.

OPTION can contain a character string from the list of display otions below.'type': Types the MathML code of the given term in the command window, and displays the term in the system's standard webbrowser.

'nwb': No Web Browser. Types the MathML code of the given term in the command window. The term is not displayed in the webbrowser.

HOW MML WORKS:
The MML function passes the given term to the MATHML[EXPORT] function of the Maple Kernel. MATHML[EXPORT] returns a string containing the MathML sourcecode of the term. The MML function embeds the MathML code in HTML code and saves it in a file with the default name "mml_code.htm". This HTML-file is then opened with the system's standard webbrowser.Code is placed in the header of the HTML file to enable the browser for displaying MathML code with MathPlayer without being online. For this reason a namespace "m:" is added to each MathML tag.

Developed by:

Marko Reinhold and Michael Kempf
Hochschule Bremen, Germany 2003

for

Prof. Dr.-Ing. Joerg J. Buchholz
buchholz.hs-bremen.de
buchholz@hs-bremen.de

Cite As

Michael Kempf, Marko Reinhold (2024). MathML Visualization (https://www.mathworks.com/matlabcentral/fileexchange/3049-mathml-visualization), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Discrete Multiresolution Analysis in Help Center and MATLAB Answers
Acknowledgements

Inspired: Display symbolic expression in web browser.

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Updated to add a BSD license. Check the user comments for useful information.