help-octave
[Top][All Lists]
Advanced

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

RE: using save command


From: dastew
Subject: RE: using save command
Date: Thu, 13 Aug 2009 14:34:47 +0000




From: address@hidden
To: address@hidden
Subject: RE: using save command
Date: Thu, 13 Aug 2009 03:53:19 +0000
CC: address@hidden

Thank you


> Date: Wed, 12 Aug 2009 23:38:19 -0400
> Subject: Re: using save command
> From: address@hidden
> To: address@hidden
> CC: address@hidden
>
> You have to use the function form of save,
>
> save(ffname, "ascii", a);

I am running Ubuntu 9.04  and the latest octave that ubuntu knows about:
 
GNU Octave Version 3.0.1
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686


I doesn't seem to know about the function version of save

I wonder if someone would make a new ubuntu version of octave.


PS  I have made up my 100 different files the brute force way  -- 100 scripts!
So I am not stuck.

Doug




>
> I'm just doing this off of memory, so the syntax maybe slightly off.
> Type "help save" should do the trick.
>
> On Wed, Aug 12, 2009 at 11:23 PM, <address@hidden> wrote:
> >
> > I have a function that I want to pass a partial file mane to and the form up
> > the complete file name as follows:
> >
> >
> > fname="f10"
> >
> > and latter
> >
> >
> > ffname = [fname ".txt"]
> >
> >
> > now I want to use the save command
> >
> > save  -ascii  ffname  a
> >
> > but it makes a file name called   ffname
> > and I wanted a file called f10.txt
> >
> > How do I use save when the file name is in a variable?
> >
> > Doug
> >
> >
> > _______________________________________________
> > 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]