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

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

[Octave-bug-tracker] [bug #58127] -append does not automatically detect/


From: Rik
Subject: [Octave-bug-tracker] [bug #58127] -append does not automatically detect/check file type for save
Date: Mon, 20 Apr 2020 23:55:31 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #8, bug #58127 (project octave):

Since a workaround is to use the same file type for both save commands, if you
want to use the -v7 format, then you can set it to be the default with
save_default_options().  Putting the command 


save_default_options ("-v7");


in your .octaverc will make this happen every time you start Octave.

With that default in place, this code works just fine


a=1;b=2;
unlink ('ab.mat');
save ab.mat a
save -append ab.mat b
clear a 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]