Creating a standalone executable:Debian Lenny, P6
Søren Hauberg
soren at hauberg.org
Wed May 13 00:49:15 CDT 2009
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
More information about the Help-octave
mailing list