help-octave
[Top][All Lists]
Advanced

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

Re: Creating a standalone executable:Debian Lenny, P6


From: Søren Hauberg
Subject: Re: Creating a standalone executable:Debian Lenny, P6
Date: Wed, 13 May 2009 07:49:15 +0200

tir, 12 05 2009 kl. 19:40 -0700, skrev Mike B.:
> Hi All,
> 
> I'm using Debian Lenny Linux on an intel P6. Can I convert an octave
> script file (myfile.m) into a standalone executable such that a user
> will simply run:
> ./myfile
> without the user having to install octave and any function files
> called by myfile.m? .
> 

You could something like

  #!/usr/bin/env octave

to the top of your file and make it executable using 'chmod'. That
should do the trick

Søren



reply via email to

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