help-octave
[Top][All Lists]
Advanced

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

Re: using variable arguments with "load"


From: Tom Short
Subject: Re: using variable arguments with "load"
Date: Tue, 2 Jul 1996 11:27:19 -0400

>Is there any way to pass arguments to the builtin "load" command such as:
>
>octave:1> a = "test.dat";
>octave:2> load a
>
>This statement tries to load a file called "a". Is there a way to get octave to
>load the file which has its name stored in the variable ("test.dat")? 

Found an answer by looking at a file which Eyal Doron did:

octave:1> eval(["load ",a]);




reply via email to

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