I really think that for something like this to work reliably, we probably 
want a way to call octave directly from Julia, but that requires some 
effort. Sorry - I don't have anything useful to add for the PyCall route. I 
guess that even though convoluted, it would be nice if it worked.

-viral

On Saturday, February 7, 2015 at 12:33:23 AM UTC+5:30, astromono wrote:
>
>
>
> Hi all,
>          I am getting to julia in recent months. I have hundreds 
> (thousands, perhaps) of functions and scrips in octave (many years 
> working with matlab/octave). I'm linux user (LMDE).
> The fact is that from python I use oct2py module to run octave functions 
> with reasonably good results.
> But in julia, using PyCall, this fails.
> To begin "@pyimport oct2py.octave as oc" leaves locked the command until 
> you cancel it:
>
> julia>pyimport oct2py.octave as oc
>
>
> ^ CERROR: function is not yet c-callable
>   in pyinitialize at /home/rober/.julia/v0.4/PyCall/src/pyinit.jl:245
>   in pyinitialize at /home/rober/.julia/v0.4/PyCall/src/pyinit.jl:305
>   in pyimport at /home/rober/.julia/v0.4/PyCall/src/PyCall.jl:111
>
> Is there any way to run octave commands and functions from julia?
>
> thank you in advance
>
> Hugs,
> Rober
>

Reply via email to