[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: saving Octave state?
From: |
Judd Storrs |
Subject: |
Re: saving Octave state? |
Date: |
Thu, 2 Dec 2010 15:26:19 -0500 |
On Thu, Dec 2, 2010 at 3:04 PM, Mike Miller <address@hidden> wrote:
> function save_odata ()
> save("-binary", ".OData")
> endfunction
The problem (I think) is that the save() runs in the function scope
instead of the base. I think this change works:
function save_odata ()
evalin("base","save('-binary', '.OData')") ;
endfunction
--judd