help-octave
[Top][All Lists]
Advanced

[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
>
>



reply via email to

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