help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: load file


From: vinod gullu
Subject: Re: load file
Date: Thu, 15 Apr 2010 00:55:27 -0700 (PDT)

Dear Mr Stewart,

Thanks for reply. The load function loads the file from current directory.

load /home/adbc/1.dat : works

Suppose if we want to give the path along with file name as input the we have to do like this:

b = input("Entre file name with path:","s")
Entre file name with path: /home/abcd/1.dat
b = /home/abcd/1.dat

c = load (b)
Now the c matrix contains the values of 1.dat


Kind regards,


VINOD KUMAR GULERIA

ADD/AERO

VSSC, TRIVANDRUM

KERLA- 695022

0471-2564429,2564938(OFFICE)

+91 9447109608 (RES)



--- On Wed, 3/31/10, Doug Stewart <address@hidden> wrote:

From: Doug Stewart <address@hidden>
Subject: Re: load file
To: "vinod gullu" <address@hidden>
Cc: address@hidden
Date: Wednesday, March 31, 2010, 3:53 PM

take a look at the load function

help load

Doug

On Wed, Mar 31, 2010 at 4:58 AM, vinod gullu <address@hidden> wrote:
Hello,
I want to load a file 1.dat in my octave program say from /home/abcd/1.dat

How do i load this file by reading the path along with filename from screen input(like input function)

Kind Regards

VINOD KUMAR GULERIA ADD/AERO VSSC, TRIVANDRUMKERLA- 695022 0471-2564429,2564938(OFFICE)+91 9447109608 (RES)



_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]