Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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
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