Wolfram Library Archive

Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title Downloads

MathCode and MathModelica

Peter Aronsson
Organization: Wolfram Research, inc.
Department: MathCore

2005 Wolfram Technology Conference
Conference location

Champaign IL

MathCore Engineering is a company specialized on tools and consulting for modeling and simulation. MathCore is the maker of the two products MathCode and MathModelica, which both are add-on packages to Mathematica. MathCore is a company with 14 employees with offices in Mjärdevi Science Park, Linköping, Sweden. About half of the company is involved in product development and the rest provides consulting services in modeling and simulation.

MathCode is a code generator add-on that translates Mathematica to efficient stand-alone C++ or Fortran code. It can be used to speed up calculations of Mathematica programs or for example, translate Mathematica programs to a platform where Mathematica is not available, for instance, embedded systems with limited resources. Recently, a version of MathCode that produces Fortran90 code was released, and upcoming versions of MathCode C++ will increase the compilable subset of Mathematica, including for instance Complex number and String datatypes. MathCode provides the following key benefits:
  • Speed
  • Portability
  • Flexibility
  • Readability
MathModelica is an add-on that allows Mathematica users to build complex and full system simulation models using the Modelica modeling language. Modelica is an object-oriented, equation-based modeling language that provides an easy to use, open standard, full fledged modeling formalism for modeling hybrid differential equations. With the integration of the Modelica language into Mathematica, several benefits are achieved:

  • Graphical composition
  • Integrated documentation
  • Abstraction
  • Multi-engineering

*Wolfram Technology > Application Packages > Additional Applications > MathModelica
*Wolfram Technology > Application Packages > Applications from Independent Developers > MathCode C++

MathCode-MathModelica-WTC2005.ppt (1.1 MB) - Microsoft Powerpoint document