Re: [julia-users] Re: How to feval?

2015-10-22 Thread Stefan Karpinski
Julia doesn't identify functions and files the way Matlab does. You can just load the file by name. On Thu, Oct 22, 2015 at 2:56 PM, J Luis wrote: > Anyway, unfortunately none of the above solutions work for files. If the > file is called "GMT_insert.jl", and is in the path, I get variations aro

Re: [julia-users] Re: How to feval?

2015-10-22 Thread J Luis
Anyway, unfortunately none of the above solutions work for files. If the file is called "GMT_insert.jl", and is in the path, I get variations around (+ file extension - file extension) of ERROR: UndefVarError: GMT_insert not defined quinta-feira, 22 de Outubro de 2015 às 18:30:04 UTC+1, J Lui

Re: [julia-users] Re: How to feval?

2015-10-22 Thread J Luis
Speed is not critical here. I am porting this script http://gmt.soest.hawaii.edu/projects/gmt-matlab-octave-api/repository/changes/trunk/src/gmtest.m that will call the test scripts that live, as for example, here http://gmt.soest.hawaii.edu/projects/gmt/repository/show/branches/5.2.0/d

Re: [julia-users] Re: How to feval?

2015-10-22 Thread Stefan Karpinski
This will not be fast. It's also wildly insecure if the string come from an external source. I'd strongly recommend figuring out a different approach to what you're doing, but it's hard to provide guidance without more context. On Thu, Oct 22, 2015 at 12:34 PM, Alex Ames wrote: > You could defin