No BSD License  

Highlights from
MathML Visualization

5.0

5.0 | 3 ratings Rate this file 10 Downloads (last 30 days) File Size: 4.3 KB File ID: #3049
image thumbnail

MathML Visualization

by

 

25 Feb 2003 (Updated )

Types the MathML code of a mathematical expression and displays it in a webbrowser.

| Watch this File

File Information
Description

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

Acknowledgements

This file inspired Display Symbolic Expression In Web Browser..

MATLAB release MATLAB 6.5 (R13)
Other requirements 1.) Symbolic Math Toolbox 3.0.1 for MATLAB with Maple 8 Kernel or later. 2.) To display the expression in MS Internet Explorer install MATHPLAYER. Download MATHPLAYER (freeware) at http://www.dessci.com/webmath/mathplayer
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
17 Jan 2009 Joerg Buchholz

As of R2008b, Matlab uses a new symbolic engine (MuPAD instead of Maple). If you want to use mml with >R2008b you have to substitute the following line in mml.m:

MATHML_SOURCECODE=maple('MathML[Export]', char(arguments.input_term));

by the line:

MATHML_SOURCECODE = char (feval (symengine, 'generate::MathML', arguments.input_term));

14 Jan 2009 Joao

Great !

09 Jan 2004 Vassilios Lazaridis  
01 Jul 2003 Marion Hagler

I use Design Sciences MathType equation editor in MS Word with MATHPLAYER to create and display XML/MathML files that contain supplemental notes for my students in electrical and computer engineering. I also use MATLAB. I was pleasantly surprised and very pleased to learn of this submission. I hope that MATLAB will increase its support of MathML so that it matches or exceeds that of Mathematica and Maple.

Contact us