[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spawning a shell under octave
From: |
LUK ShunTim |
Subject: |
Re: spawning a shell under octave |
Date: |
Tue, 16 Sep 2003 16:27:25 +0800 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529 |
Stephen Simpson wrote:
Hi all,
I have successfully installed Octave 2.1.42 under Windows 2000. I'd
like to use the epsTk library in conjunction with Ghostscript 8.1, and
Adobe acrobat reader to view plots.
I've written a batch file to take the ".eps" outputs from the epsTk
library, convert them to pdf using ghostscript, and load the resulting
pdf into acrobat reader... However, it's many years since i've used
matlab / octave and i can't remember if it's possible to spawn an
external shell from an m script.
Any ideas whether it's (a) possible and (b) how to do it?
Yes.
system("your_command")
Regards,
ST
--
-------------------------------------------------------------
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
-------------------------------------------------------------