help-octave
[Top][All Lists]
Advanced

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

Re: load command question


From: Quentin Spencer
Subject: Re: load command question
Date: Sun, 07 May 2006 19:04:43 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Myriam Abramson wrote:

How do I load a file with a variable name?


octave> mypattern
mypattern = random4.out
octave> mypattern
mypattern = random4.out
octave> load mypattern
error: load: couldn't open input file `mypattern'
octave> load "mypattern"
error: load: couldn't open input file `mypattern'
octave>

try:
load(mypattern)

-Quentin


reply via email to

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