help-octave
[Top][All Lists]
Advanced

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

Re: load -ascii strcat(int2str(2001), "data.txt")


From: Michael Chen
Subject: Re: load -ascii strcat(int2str(2001), "data.txt")
Date: Wed, 1 Oct 2008 14:02:22 -0400

thanks, it works very well. maybe it is also documented in the manual?
would you please point it to me, so I can understand better?

Sincerely yours,
Michael

On Wed, Oct 1, 2008 at 12:12 PM, Jordi GutiƩrrez Hermoso
<address@hidden> wrote:
> 2008/10/1 Michael Chen <address@hidden>:
>> Dear there, how can I load a data file on fly? Here were what I tried.
>>
>> --------------------------------------------------------------
>> octave:30> load -ascii 2001PS.octave
>>
>> octave:31> load -ascii strcat(int2str(2001),"PS.octave")
>> parse error:
>>
>>  syntax error
>
> Try to use the functional form of the call:
>
>     load("-ascii",filename)
>
> HTH,
> - Jordi G. H.
>



reply via email to

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