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

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

[Octave-bug-tracker] [bug #58127] save -V7 and -append error


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #58127] save -V7 and -append error
Date: Mon, 6 Apr 2020 14:36:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

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

                 Summary: save -V7 and -append error 
                 Project: GNU Octave
            Submitted by: lt1234
            Submitted on: Mon 06 Apr 2020 06:36:51 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: lt1234
        Originator Email: 
             Open/Closed: Open
                 Release: 5.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

In matlab, -v7 is optional when -append is specified in save command. If you
specify both, there is a warning message for -v7 usage. In octave, two options
must be used.  If -v7 is missing with -append, error occurs. 

% error 

a=1;b=1
save -V7 ab.mat a
save -append ab.mat b
load ab.mat 
error: load: invalid element type = 8227 


% good 

a=1;b=1
b =  1
save -V7 ab.mat a
save -v7 -append ab.mat b
load ab.mat




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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