[Top][All Lists]

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

Re: Octave from Java

From: Kim Hansen
Subject: Re: Octave from Java
Date: Fri, 29 Feb 2008 13:30:43 +0100

On Thu, Feb 28, 2008 at 10:37 PM, Andrea Grassi <address@hidden> wrote:
>  Hello Kim,
>  I'm a student who's making a java program that interface itselfs with octave
>  as part of a thesis. I successful made my own java code to call octave and
>  execute commands. But I am facing a problem and I'd like to know if you have
>  successfully solved this problem (if not I'll make a general question in a
>  separate post :) ) : If I pass a wrong command to octave, it crash
>  (apparently).
>  Let me use your lib as an example (it seems it is affected, but I don't know
>  if we can avoid it)
>  if I write :
>         Octave o = new Octave();
>         o.execute("A=5");
>         o.execute("disp(z)");
>         o.execute("A=7");
>  After the execution of "disp(z)" it will crash, making a "Broken pipe"
>  exception right in the next command.
>  Do you also have this problem? If you faced it, how did you solve it?

I have not done anything to avoid that problem, our solution gets the
exact same "Broken pipe" error.

Kim Hansen
Vadgårdsvej 3,
2860 Søborg
Fastnet: 3956 2437  --  Mobil: 3091 2437

reply via email to

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