[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using save command
From: |
James Sherman Jr. |
Subject: |
Re: using save command |
Date: |
Wed, 12 Aug 2009 23:38:19 -0400 |
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
>
>
- Exporting a variable to the global workspace from a C++ function, Justin Bare, 2009/08/11
- using save command, dastew, 2009/08/12
- Re: using save command,
James Sherman Jr. <=
- RE: using save command, dastew, 2009/08/12
- RE: using save command, dastew, 2009/08/13
- RE: using save command, macy, 2009/08/13
- RE: using save command, dastew, 2009/08/13
- RE: using save command, John W. Eaton, 2009/08/13
- RE: using save command, dastew, 2009/08/13