|
Thanks very much,my dear freind---Randy!!!
"Randy Poe" <rpoe@nospam.com> ??????:arb6df025ou@enews2.newsguy.com...
> Wds wrote:
> > My Dears:
> > I am a freshman and studying Matlab!
> > I only know how to import data into the file of Matlab,but now I want
to
> > read data when program runs firstly!
> > In Fortran,there is "Read(*,*)",in Matlab which function is the same
as
> > "Read(*,*)" in Fortran!
> > Thanks!!!
>
> I'm not sure what you mean exactly, because
> read(*,*) in FORTRAN reads free-formatted input from
> the standard input (the terminal), not from a file.
>
> Do you want to get input directly from a user? Or
> from a file?
>
> See "help input" for reading from the user, and
> "help fscanf" for reading from a file. I'm sure you'll
> have more questions once you read those articles.
>
> - Randy
>
|