cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

PTC Mathcad Matrix to C++ Code

bedmonds
12-Amethyst

PTC Mathcad Matrix to C++ Code

Many companies use Mathcad to test their FORTRAN or C++ codes. Mathcad is part of the verification process for their production codes. Mathcad even lends itself as a documentation tool for these calculations.

The purpose of this worksheet is to take that process one step further. With this worksheet Mathcad content (matrices) can be exported as C++ code. This worksheet could easily be modified to generate FORTRAN code.

This worksheet is set up to dynamically work for any matrix size. It exports the code to a “code.txt” file. Simply open that and cut & paste the contents into your C++ project.

1 REPLY 1
RogerYeh
12-Amethyst
(To:bedmonds)

Also see Werner's version: http://communities.ptc.com/message/233148

Announcements

Top Tags