help-octave
[Top][All Lists]
Advanced

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

Re: saving results


From: Francesco Potortì
Subject: Re: saving results
Date: Wed, 09 Jun 2010 11:57:49 +0200

>I used the function save
>"save ("-text", "end")"
>as a result I received:
>"# Created by Octave 3.2.4, Wed Jun 02 20:39:07 2010 CEST <address@hidden>
># name: Ad
># type: scalar
>34.8
># name: Am
># type: scalar
>19.2
>...."
>Nevertheless I would like to have result in form:
>"Ad =  34.800
>pied =  2.1000
>szed =  7.0300
>sied =  1440
>osid =  247
>Iyzd =  338
>hm =  10
>sm =  10
>gm =  1
>Am =  19.200
>....."
>how to do it. 

You should save your variables one by one to a file using the fprintf
function.  This is the easiest way to go.  If you have specific needs,
try to explain them.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

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