help-octave
[Top][All Lists]
Advanced

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

saving as a mat file does not produce a mat file extension


From: Ben Barrowes
Subject: saving as a mat file does not produce a mat file extension
Date: Wed, 25 May 2005 10:14:11 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

Is there any way to force octave to append a .mat file extension when saving as a mat file? At present, when saving with any of:

`-V7'
   `-v7'
   `-7'
   `-mat7-binary'
         Save the data in MATLAB's v7 binary data format.

         This option is not available, as this Octave executable was
         not linked with the zlib library.

   `-V6'
   `-v6'
   `-6'
   `-mat'
   `-mat-binary'
         Save the data in MATLAB's v6 binary data format.

   `-V4'
   `-v4'
   `-4'
   `-mat4-binary'
         Save the data in the binary format written by MATLAB version
         4.


octave does not append a ".mat" onto the filename. For example:
octave:29> aa=magic(3);
octave:30> save -V6 test1 aa

saves the file "test1" and not "test1.mat". Even when I change
octave:31> default_save_options="-V6"
(or any other matfile option above) octave still will not append the mat file extension.

When saving files in other formats, it seems natural not to append a specific extension.

Is this a copyright issue with TMW?



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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