Solved
Exporting table from Mathcad
- August 29, 2020
- 3 replies
- 6284 views
My best guess without seeing your sheet is that you data table in Mathcad contains not scalar data only but one entry maybe is a matrix itself - nested matrix.
If thats true, WRITECSV even with the correct order of the arguments (see: https://community.ptc.com/t5/PTC-Mathcad/Exporting-table-from-Mathcad/m-p/685090/highlight/true#M191612) will fail with "Not supported type" error.
If possible you may consider posting your worksheet for inspection.
EDIT: Next (probably better) guess. You don't have a nested matrix, but if I interpret the header correctly, your data table contains non-real numbers with very tiny imaginary parts. This accounts for the extra numbers you see in the created file which are separated by the real part by a comma.
So try T:=WRITEPRN(arquivo, Re(forca))
This should give you a text file without any header and without the extra numbers and maybe Kaleidograph is happy with that file.
Otherwise you may try T:=WRITECSV(Re(forca), arquivo) or even WRITEEXCEL.
Using WRITEPRN you may also have a look at the system variables PRNPRECISION and PRNCOLWIDTH to have a bit more control over the outcome.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.