Math Forum
http://mathforum.org/kb
List of forum topicsenRe: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8302265&tstart=0#8302265
I used the fgetl() and scanf() commands as you had done earlier. I inserted searches for blank lines as required. It worked as you]]>Feb 11, 2013 10:26:14 AMFeb 11, 2013 10:26:14 AMstudentt_44@hotmail.com0Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8289346&tstart=0#8289346
> On 2/9/2013 1:12 PM, Stan wrote: >> ^^^^^Okay I]]>Feb 9, 2013 5:38:02 PMFeb 9, 2013 5:38:02 PMnone@non.net0Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8289018&tstart=0#8289018
> ^^^^^Okay I think I don't understand Lines 5,7,8 in your shortcut]]>Feb 9, 2013 4:50:08 PMFeb 9, 2013 4:50:08 PMnone@non.net1Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8288689&tstart=0#8288689
> ^^^^^Okay I think I don't understand Lines 5,7,8 in your shortcut]]>Feb 9, 2013 3:53:35 PMFeb 9, 2013 3:53:35 PMnma@12000.org0Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8287819&tstart=0#8287819
Line 1: > fid=fopen(....,'rt'); Line 2: > l=' '; Line 3:]]>Feb 9, 2013 2:12:10 PMFeb 9, 2013 2:12:10 PMstudentt_44@hotmail.com3Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8287230&tstart=0#8287230
> ^^^Could the above problem be because I need to open and close a file >]]>Feb 9, 2013 12:36:59 PMFeb 9, 2013 12:36:59 PMnone@non.net0Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8287080&tstart=0#8287080
Feb 9, 2013 12:12:09 PMFeb 9, 2013 12:12:09 PMstudentt_44@hotmail.com1Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8275161&tstart=0#8275161
fid=fopen(....,'rt'); l=' '; while 1 l=fgetl(fid); if strfind(l,']]>Feb 8, 2013 2:51:08 PMFeb 8, 2013 2:51:08 PMstudentt_44@hotmail.com0Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8271247&tstart=0#8271247
> It worked exactly as you said. I had to put in a leading space, but no > other]]>Feb 8, 2013 8:47:15 AMFeb 8, 2013 8:47:15 AMnone@non.net0Re: Pull out specific numbers from unstructured text file
http://mathforum.org/kb/thread.jspa?messageID=8265744&tstart=0#8265744
> Nmoves=sscanf(l,']]>Feb 8, 2013 12:00:20 AMFeb 8, 2013 12:00:20 AMstudentt_44@hotmail.com1