octave-maintainers
[Top][All Lists]
Advanced

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

Re: Question about test_io.m


From: Ben Abbott
Subject: Re: Question about test_io.m
Date: Wed, 08 Apr 2009 07:02:54 -0400

Tasuro,

Your question is with regards to the including the compression option, "-z" in all options, correct?

I recall some discussion about compression a few weeks ago, but do not remember the details.

Why should the "-z" be removed?

Ben

On Apr 8, 2009, at 6:32 AM, Tatsuro MATSUOKA wrote:

Hello

Is my question stupid?

I would like to know whether my question is stupid or not.

Regards

Tatsuro

--- Tatsuro MATSUOKA  wrote:

Hello

This is the previous post but no reply have not gotten yet.

http://www.nabble.com/Quesion-about-test_io.m-td22074114.html#a22074114

Is my question stupid?

Regards

Tatsuro

--- Tatsuro MATSUOKA wrote:

Hello

In test_io.m,

line 76-84

%!  files = {"text.mat", "binary.mat", "mat5.mat", "mat7.mat"};
%!  opts = {"-z -text", "-z -binary", "-z -mat", "-v7"};
%!  tols = {2*eps, 0, 0, 0};
%!
%! vars = "a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19 a20";
%!  if (! input)
%!    for i = 1:length (files)
%!      eval (sprintf ("save %s %s %s", opts{i}, files{i}, vars));
%!    endfor


%!  opts = {"-z -text", "-z -binary", "-z -mat", "-v7"}; ????


help save
   :
   :
  `-z'
        Use the gzip algorithm to compress the file. This works
        equally on files that are compressed with gzip outside of
octave, and gzip can equally be used to convert the files for
        backward compatibility.
Is
%!  opts = {"-z -text", "-z -binary", "-z -mat", "-v7"};
correct?

I think it should be
%!  opts = {"-text", "-binary", "-mat", "-v7"}; ?

Any comments?

Regards

Tatsuro

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/



--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/



--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/



reply via email to

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