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

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

[Octave-bug-tracker] [bug #54416] save function doesn't use Matlab file


From: Rik
Subject: [Octave-bug-tracker] [bug #54416] save function doesn't use Matlab file format by default
Date: Wed, 1 Aug 2018 11:20:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0

Update of bug #54416 (project octave):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 
        Operating System:                  Mac OS => Any                    

    _______________________________________________________

Follow-up Comment #4:

The existing comments are correct.  Octave is not Matlab.  Often, it can run
existing Matlab without modification, but occasionally small changes may be
necessary for code to run simultaneously in both interpreters.  In this case
there are multiple workarounds:

1) Run in maximum-compatibility mode (--traditional on command line)

2) Set up your default save format to be matlab binary which matches the
default that Matlab uses.

3) Change code to include the format argument to save.  Matlab and Octave both
accept this option.  According to The Mathworks, the format can be specified
with this syntaxt


 save(filename,variables,fmt)


where "fmt" would be '-mat'.

Marking as "Won't Fix" and closing report.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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