Skip to main content
1-Visitor
June 15, 2015
Question

Converting MathCad to C or C++

  • June 15, 2015
  • 4 replies
  • 5553 views


I would like to convert my equations in a MathCad worksheet directly into a higher language (C or C++, or other) to run on a super computer.  Is there a software or second source software that can do this directly?

4 replies

19-Tanzanite
June 15, 2015

Sorry, but there is no way to automatically do this.

24-Ruby III
June 16, 2015

In Mathcad Prime 3.1 SDK shows an example demonstrates how you can read SExpressions and translate them to use PTC Mathcad Prime as a C++ class generator.

1-Visitor
May 3, 2016

With the Mathcad Prime 3.1 SDK can I convert worksheets directly to C? It seems many of the commands between C and Mathcad are similar.

19-Tanzanite
May 3, 2016

I haven't even looked at the Prime 3.1 SDK, but I am >99.99% certain that the answer to your question is "no".

1-Visitor
December 21, 2017
1-Visitor
July 22, 2021

I used https://github.com/std8590/xmcd2cs to convert 90% of my Mathcad xmcd files to C#.