Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I need to input data from Notepad . Can mathcad do that ? using ReadText function or there is another way to do it ?
This is the data I need to input , I couldn't attach the note file because the file type is not supported , so I attached as pdf
Solved! Go to Solution.
Yes, Prime can do that.
Look up the function READTEXT in the help of Prime.
Here's an example, based off the pdf file (and starting with the line containing #EOH= ) :
Results in:
etc.
Success!
Luc
Yes, Prime can do that.
Look up the function READTEXT in the help of Prime.
Here's an example, based off the pdf file (and starting with the line containing #EOH= ) :
Results in:
etc.
Success!
Luc
what does '' delimited'' do?
And should I write my file name instead of '' File'' ?
Thanks
As Luc said, look up READTEXT in Help: https://support.ptc.com/help/mathcad/r10.0/en/#page/PTC_Mathcad_Help/text_files.html
You'd write your file name in quotes.
Delimited says how the data is structured in the file (how Mathcad is supposed to know when a new column begins and the old one ends). In the case of his example, a space (" ") is the delimiter.