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

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

[Octave-bug-tracker] [bug #64756] make Octave save function more compati


From: Bill Eaton
Subject: [Octave-bug-tracker] [bug #64756] make Octave save function more compatible with MATLAB
Date: Fri, 6 Oct 2023 14:52:31 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64756>

                 Summary: make Octave save function more compatible with
MATLAB
                   Group: GNU Octave
               Submitter: wpeaton
               Submitted: Fri 06 Oct 2023 06:52:29 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 8.2.0
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 06 Oct 2023 06:52:29 PM UTC By: Bill Eaton <wpeaton>
For compression
  Octave uses '-z' or '-zip' options
  MATLAB uses '-compress' or '-nocompress' options

presumably Octave uses no compression by default. MATLAB compress options only
apply to '-V7' or '-V7.3' formats.

I did a test where I save'd a file in Octave with '-zip':

====== begin script ==================
A = eye(5,5);
save('test.mat', A, '-V7', '-zip');
====== end script ==================

I asked a friend who has MATLAB to open and they were able to successfully
open the file. This seems to indicate that MATLAB also uses gzip compression.

So my request is this: can Octave save function be modified to include
'compress' and '-nocompress' options to improve compatibility?








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64756>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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