Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Shobana
Posts:
12
Registered:
12/20/12
|
|
Re: to open and read a file
Posted:
Jan 1, 2013 7:18 AM
|
|
dpb <none@non.net> wrote in message <kbsg7j$lav$1@speranza.aioe.org>... > 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 7.11.0.584(R2010b)
|
|
|
|