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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Excel Worksheet Import

VR_9781959
6-Contributor

Excel Worksheet Import

How can I import XML data into Mathcad 

 

I want to parse and map date into a vector or matrix for an XML data

 

Vic

5 REPLIES 5

Have you looked?  Mathcad can read a file.  Prime will embed an EXCEL file component in the sheet.

Werner_E
25-Diamond I
(To:VR_9781959)

Your subject says "Excel" but in the body you write about XML ??

Excel should be no problem as Mathcad can read and embed Excel files out of the box.

Concerning XML you'd be forced to write your own parser in Mathcad.

Hi,

1) Open the XML Data File in Excel. Excel can do this.

2) Check the Excel file to see the import is what you want.

3) Save the Excel file as a *.xlsx excel workbook.

4) Open Mathcad Prime

5) Go to menu item Input/Output and you will see READEXCEL as an option use this.

6} A dialog box opens where you can browse for the excel file to read.  It reads it into a Prime matrix.

Cheers

Terry

 

 

Hi 

You mentioned "date" in your question.

Mathcad Prime has no date value.

Here are some useful date functions.  It explains the difference between Excel and Georgian day number.

Cheers

Terry

Hi,

Prime 6.0 file if needed.

Cheers

Terry

Announcements

Top Tags