[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
equivalent of matlab -r "code_name(arg1,arg2,...)"
From: |
Johann Cohen Tanugi |
Subject: |
equivalent of matlab -r "code_name(arg1,arg2,...)" |
Date: |
Fri, 11 May 2007 14:38:47 -0700 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061206) |
hi there,
I have a code which defines a function in order to be able to pass
arguments on the command line. So in matlab I do :
matlab -r "my_code(arg1, arg2, arg3,...)"
This seems to work well and is the only way I found to easily pass
arguments (I am a total newbie, if someone knows better, I am all ears).
I tried to run the same script with octave, and I figured that the
option --eval is what I need in order to replace the -r matlab option.
But when I type octave --eval "my_code(arg1, arg2, arg3,...)" my code
seems to hang : It is a fairly complex double integral, but on matlab it
seems to be proceeding normally.
So before I try to debug, I wanted to know if there was anything I
should worry about with this --eval.
thanks in advance for the help,
Johann
- equivalent of matlab -r "code_name(arg1,arg2,...)",
Johann Cohen Tanugi <=