<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#330000">
hi<br>
<br>
are you sure you've got gunzip available in your computer?<br>
<br>
unix executes command lines.<br>
be sure you understand the way those work. (if not,
<a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Command-line_interface">http://en.wikipedia.org/wiki/Command-line_interface</a>)<br>
<br>
for instance, open a terminal, go to the relevant directory and try
to execute your command<br>
<pre wrap="">gunzip -c Ctext.txt.gz</pre>
(not from scilab)<br>
<br>
if this works outside scilab, it should work with unix.<br>
if it works outside scilab but doesn't work from unix inside scilab,
that could be because the current directory in scilab is not the
good one<br>
<br>
<br>
if you dont have gunzip available in your computer, you probably
have another zip manager.<br>
find out how to use it with command line<br>
<br>
(for instance if you have winzip, google "use winzip with command
line", this should help. (then consider droping winzip for 7zip))<br>
<br>
hope this helps<br>
<br>
best regards<br>
<br>
On 13/07/2011 19:01, lukeaarond wrote:
<blockquote cite="mid:1310576492842-3166691.post@n3.nabble.com"
type="cite">
<pre wrap="">I have a compressed text file (Ctext.txt.gz) that I would like to decompress
and save as a normal text file (Ctext.txt). I found a unix command (gunzip)
that possibly does this, but I cannot get it to work. My code in scilab is:
unix('gunzip -c Ctext.txt.gz')
This code seems to be doing nothing. What am I doing wrong? or is there a
better way to decompress this file?
Thank you.
--
View this message in context: <a class="moz-txt-link-freetext" href="http://mailinglists.scilab.org/decompress-text-files-tp3166691p3166691.html">http://mailinglists.scilab.org/decompress-text-files-tp3166691p3166691.html</a>
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<p style="color: teal; font-size: 12pt;"><b>Adrien Vogt-Schilb</b><br>
Research Fellow<br>
<a class="moz-txt-link-abbreviated" href="mailto:vogt@centre-cired.fr">vogt@centre-cired.fr</a><br>
Tel: (+33) 1 43 94 73 96<br>
Fax: (+33) 1 43 94 73 70<br>
</p>
<table style="border: medium none;">
<tbody>
<tr>
<td style="padding: 0pt;">
<p><img src="cid:part1.05020300.03090002@centre-cired.fr"
alt="CIRED" width="54"></p>
</td>
<td style="padding: 0pt 7pt;" valign="middle">
<p style="font-size: 10pt; color: teal;">45 bis, Av de la
Belle Gabrielle<br>
F-94736 Nogent-sur-Marne<br>
<a href="http://www.centre-cired.fr/" style="color:
teal;">http://www.centre-cired.fr/</a><br>
</p>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>