[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new snapshot (2.9.10)
From: |
John W. Eaton |
Subject: |
Re: new snapshot (2.9.10) |
Date: |
Fri, 23 Mar 2007 16:12:16 -0400 |
On 23-Mar-2007, Thomas Treichl wrote:
| John W. Eaton schrieb:
| > On 23-Mar-2007, Thomas Treichl wrote:
| >
| > | only a wish: Can you please fix the example/make_int.cc - I get an error
when
| > | trying to compile this with mkoctfile. I'm not able to fix this problem
on my own.
| > |
| > | bash$ mkoctfile make_int.cc
| > | make_int.cc: In member function 'octave_value*
octave_integer::clone()':
| > | make_int.cc:74: error: cannot convert 'octave_integer*' to
'octave_value*' in
| > | return
| > | make_int.cc: In function 'octave_value_list Fdoit(const
octave_value_list&,
| > | int)':
| > | make_int.cc:326: error: invalid initialization of reference of type
'const
| > | octave_value&' from expression of type 'const octave_base_value'
| >
| > Try the following patch.
| >
| > jwe
|
| Thank you!
|
| Another question: I downloaded the latest sources 30 minutes ago, compilation
is
| fine on MacOSX IA32, but at the moment I'm not able to save "function
handles"
| with any of the output option filters (ie. -v7, -v6, ...), eg.
|
| octave:4> A = @disp
| A =
| disp
| octave:5> save ('-v7', 'test.mat', 'A')
| warning: save: wrong type argument `function handle'
| error: save: error while writing `A' to MAT file
| octave:5>
|
| I couldn't remember exactly if this was already possible, but found the topic
on
| the list, that this was already be working with 2.9.7!?
|
|
http://www.nabble.com/loading-function-handles-from-files-tf2917423.html#a8153188
I think maybe you misunderstood what those messages were about.
Octave can save and load funtion handles with the Octave and HDF5 file
formats, but not MAT files. I'd consider patches.
jwe
- Re: new snapshot (2.9.10), (continued)
Re: new snapshot (2.9.10), Thomas Treichl, 2007/03/23