octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53652] Cannot save function handle to a Matla


From: Rik
Subject: [Octave-bug-tracker] [bug #53652] Cannot save function handle to a Matlab file format
Date: Sat, 14 Apr 2018 08:44:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53652 (project octave):

                Category:                    None => Octave Function        
              Item Group:                    None => Matlab Compatibility   
                  Status:                    None => Confirmed              
                 Summary: Cannot save simple function handle => Cannot save
function handle to a Matlab file format

    _______________________________________________________

Follow-up Comment #1:

I don't think this has ever worked because Matlab has not published the file
format for function handles so we have no idea how to implement saving them.

If you need to save function handles use one of Octave's own formats.


octave:4> f = @sin
f = @sin
octave:5> save -text tmp f
octave:6> save -v7 tmp f
warning: save: wrong type argument 'function handle'
error: save: error while writing 'f' to MAT file
octave:6> save -v6 tmp f
warning: save: wrong type argument 'function handle'
error: save: error while writing 'f' to MAT file
octave:6> save -v4 tmp f
warning: save: wrong type argument 'function handle'




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53652>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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