|
From: | dastew |
Subject: | RE: using save command |
Date: | Thu, 13 Aug 2009 03:53:19 +0000 |
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'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 > > > > |
[Prev in Thread] | Current Thread | [Next in Thread] |