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

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

[Octave-bug-tracker] [bug #43215] save function handle variables in MATL


From: Guillaume
Subject: [Octave-bug-tracker] [bug #43215] save function handle variables in MATLAB's binary data format
Date: Fri, 12 Sep 2014 16:38:31 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0

URL:
  <http://savannah.gnu.org/bugs/?43215>

                 Summary: save function handle variables in MATLAB's binary
data format
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Fri 12 Sep 2014 16:38:30 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

It seems that function handle variables cannot be saved on disk when using
MATLAB's binary data format:


octave> A = @(x) x;
octave> save testmat.mat A -mat
warning: save: wrong type argument 'function handle'
error: save: error while writing 'A' to MAT file
warning: save: no such variable 'A'
octave> B = struct('field1',1,'field2',A);
octave> save testmat.mat B -mat
warning: save: wrong type argument 'function handle'
error: save: error while writing '' to MAT file
error: save: error while writing 'B' to MAT file
warning: save: no such variable 'B'





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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