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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Excel Worksheet Import

VR_9781959
5-Regular Member

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.

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

Top Tags