Read input from pdf or text note
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Read input from pdf or text note
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
what does '' delimited'' do?
And should I write my file name instead of '' File'' ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
