The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: to open and read a file
Replies: 5   Last Post: Jan 1, 2013 11:00 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 13
Registered: 12/20/12
Re: to open and read a file
Posted: Jan 1, 2013 7:18 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

dpb <> wrote in message <kbsg7j$lav$>...
> On 12/31/2012 7:34 AM, Shobana wrote:
> > hai....
> >
> > "fid = fopen('C:\Users\Public\Downloads\message.txt');
> > %S = fscanf(fid,'%s);
> > fclose(fid);"
> >
> > In the above specified code i am getting error in the fopen statement
> > please reply me if anybody knows .Thanks in advance

> Use the optional return value to see what the cause of the failure is...
> doc fopen
> Most likely would be the file isn't where the fully-qualified name is on
> the system on which you're running the code or this isn't an existing
> subdirectory on the system...
> --version is

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2017. All Rights Reserved.