Hi everybody,
I wanna invoke OCTAVE to do some operations from a Ptolemy star.
What I have done so far is modify the .octaverc file in the
proper directory and, in the star code, include a line like:
system("octave");
If I write and compile a C program OUTSIDE Ptolemy including
the line above, it works, but when I add this same command
to the star code (and I run it whithin Ptolemy) it doesn´t!!!.
No messages of error of any kind
are displayed by the shell, as if it hadn´t executed anything.
There´s more; if I invoke the C program I have built outside Ptolemy
from a Ptolemy star with a line like 'system("./testprogram")', where
'testprogram' is the executable file created by gcc, the same behavior
is observed. Conversely, if that executable file is invoked from
the shell octave the invokation of octave is completed successfully.
(useful?) Info:
I´m using Ptolemy version 0.7.1p1.pigiRpc under Debian GNU/Linux 2.0
The shell is sh.All I have described doesn´t work with octave
but does whith shell commands like 'ls' or 'cd'.
Can anybody help me ??
THANK YOU SO MUCH.
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]