Skip to main content
1-Visitor
November 13, 2012
Question

Invoking Mathcad Prime 2.0 from console

  • November 13, 2012
  • 2 replies
  • 2149 views

I need to invoke Mathcad from console passing parameters. How can I do this? I'm using 2.0 prime Version

My Use case is:

Form Windows 7 console:

> mathcad prog1.xmcd file1.txt file2.csv

I need this to automate the execution of a MathCad worksheet using Shell Script.

My question is : how to read the parameters in MathCad worksheet ?

2 replies

19-Tanzanite
November 13, 2012

You can't do this in Prime 2.0. You could do it in Mathcad 15, although not exactly the way you show.

Maybe it will be possible in Prime 3.0, but I'm not sure about that.

5-Regular Member
November 13, 2012

We are putting together funcitonality for Mathcad integraiton within other precesses, so I would like to know more about your use case. What are you trying to do?

Thanks,

--Jakov

15-Moonstone
November 13, 2012

Jakov, We are running a program called Orcaflex (www.orcina.com). It is a FEA modeler for mooring systems, ocean cable installation, etc. There is a fair amount of pre and post proccessing that is done. Some values need to be calculated during the running of the program. Orcaflex has the capability to export values to Python, MatLab, C++ during the analysis. This is done to provide more details or calculate forces and motions that are not done by Orcaflex. With right tools we could possibly us MathCAD to provide the same support. Looking forward to Prome 3.0.