Question about how to run octave from MS-DOS window
charles reid
charlesreid1 at gmail.com
Fri Sep 5 20:53:46 CDT 2008
Hi Heidy -
I created a test file (test.m):
a=2+2
b=5+5
a+b
I put this in C:\Program Files\Octave\bin, then from a command line, ran the
commands:
C:\ > chdir "c:\Program Files\Octave\bin"
C:\Program Files\Octave\bin > octave.exe test.m
This gave me some output that is the usual startup message you see in
octave, plus a few lines that were the output of the program,
a = 4
b = 10
ans = 14
Does that answer your question?
Charles
On Fri, Sep 5, 2008 at 9:55 AM, Heidy Beatriz Mejia del Puerto <
Heidy.Mejia at satmex.com> wrote:
> Hello
>
> I'm trying to develop and application linked to Excel calling a MS-DOS
> window and running there the octave file but I was trying with the following
> commands and they didn't function. Could you help me to know which is the
> correct syntax to run my proc, please?
>
> The syntax I have used is:
>
> C:\Program Files\Octave\bin>octave (Unload_general) *in this test I put
> my file Unload_general in c:\Program Files\Bin*
>
> C:\Program Files\Octave\bin>octave (c:\Program Files\Unload_general)
>
> C:\Program Files\Octave\bin>octave (c:\Program Files\Unload_general.m)
>
> C:\Program Files\Octave\bin>octave c:\Program Files\Unload_general.m
>
> C:\Program Files\Octave\bin>octave Unload_general.m
>
> Thanks in advance
>
> Regards,
>
> Heidy Beatriz Mejía del Puerto
>
> Analista de Ingeniería Satelital
>
> SATMEX
>
> (TEL (52) (55) 5804-7300 Ext. 215
>
> (FAX (52) (55) 5804-7304
>
> + heidy.mejia at satmex.com <nheidy.mejiao at satmex.com>
>
>
>
> El contenido de este mensaje y sus anexos han sido enviados por una empresa
> que cuenta con sus registros de derecho de autor vigentes. Su contenido es
> confidencial. Si usted no es el destinatario de este mensaje, se le notifica
> que este mensaje esta protegido por la ley, por lo que cualquier revisión,
> retransmisión, distribución, copiado, alteración, u otro uso o acto
> realizado con base en, o relacionado con su contenido, está prohibido. Si
> usted recibió este mensaje y sus anexos por error, le solicitamos lo
> notifique, a la brevedad, al remitente respondiendo el presente correo
> electrónico y borre el presente y sus anexos de su sistema, sin conservar
> copia de los mismos. Gracias.
>
> The content of this message and any attachments to it are being sent by a
> company that has all its author right registers in full force and effect.
> Its content is confidential. If your are not the intended recipient(s) for
> this message , you are on notice that this message is protected by law, for
> which any review, retransmission, dissemination, distribution, copying or
> other use or action taken based upon or relative to the information
> contained in this message and its attachments, is prohibited. If you are not
> the intended recipient(s) of this message or its attachments, please
> immediately advise the sender by reply e-mail and delete this message and
> its attachments from your system without keeping a copy. Thank you."
>
>
>
>
>
>
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20080905/0b2d31b2/attachment-0001.html
More information about the Help-octave
mailing list