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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Calling Fortran and/or reading data file.

MKS-disabled
1-Newbie

Calling Fortran and/or reading data file.

Hello everybody,

I need help to read a text file with headers for the data stored in the file (please see attached file). I am wondering if there is a way with Mathcad commands to read/separate the data without altering the file.

Furthermore how I can call my Fortran program to read/separate the data reading in Mathcad.

Your help is very much appreciated�
M Smith
2 REPLIES 2

You can use READFILE to read the segments of the file.

As far as calling a FORTRAN program, you would have to create a user DLL with a C program that calls the FORTRAN program.
__________________
� � � � Tom Gutman

This just isn't my day; I must have hit "post" instead of "reply" and opened a "No Topic" thread instead of responding to this one. Anyhow, I think you can copy your file, delete the header information, and "insert" - "component" - "input table" - and "import" the contents to a Mathcad worksheet. See the attached...
Top Tags