help-octave
[Top][All Lists]
Advanced

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

Re: Running a standalone script on MS windows (blech!) callable from SAS


From: Martin Helm
Subject: Re: Running a standalone script on MS windows (blech!) callable from SAS
Date: Thu, 1 Apr 2010 22:06:48 +0200
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )

Am Donnerstag, 1. April 2010 21:41:55 schrieb forkandwait:
> Hi all
> 
> Is there a guide somewhere to creating a standalone script on windows?
> 
> The end goal is to have a SAS program run a forecast script written in a
>  (real) matrix language using the "X" command.  Said forecast script would
>  read in a file with a specified name and write out its results, which
>  would then get picked up by the SAS program again and written to a
>  spreadsheet or whatever.
> 
> Such things are trivial on REAL operating systems (#! -q), I know, but in
>  the process of advocating for Octave/Matlab here at work, I need to figure
>  this out. To be honest, I don't even know how to run scripts on windows at
>  all -- where do you click?  (You have to click something, right? ... )
> 
> Thanks again!
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
What about writting a batch file which runs octave with the script?
It would simply contain

octave myscript.m

If octave is not in the path refine that

cd where my script is
\full\path\to\octave myscript.m


reply via email to

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