[FieldTrip] openmeeg matlab path
Alexandre Gramfort
alexandre.gramfort at inria.fr
Tue Dec 3 21:15:26 CET 2013
Dear Octavian,
try something like this in the matlab prompt
setenv('PATH', '/opt/openmeeg/bin')
setenv('LD_LIBRARY_PATH', '/opt/openmeeg/lib')
on linux and on mac:
setenv('PATH', '/opt/openmeeg/bin')
setenv('DYLD_LIBRARY_PATH', '/opt/openmeeg/lib')
to test your install run:
system('om_assemble')
you should see something like:
>> system('om_assemble')
om_assemble version 2.2 compiled at Dec 3 2013 20:41:48
Not enough arguments
Please try "om_assemble -h" or "om_assemble --help "
ans =
0
Hope this helps,
Alex
On Tue, Dec 3, 2013 at 7:04 PM, Octavian Lie <octavian.lie at gmail.com> wrote:
> Dear All,
>
> I installed openmeeg on my ubuntu 12.04 64 bit via github, tested it and
> works well from the terminal; I usually initiate the job from the terminal
> with:
>
> cd openmeeg/data/< subject>
> #!/usr/bin/env bash
> ...
>
> However matlab cannot see path, I get this matlab error when calling via
> fieldtrip
>
> Error using ft_hastoolbox (line 445)
> the OPENMEEG toolbox is not installed, see
> http://gforge.inria.fr/projects/openmeeg and
> http://gforge.inria.fr/frs/?group_id=435
>
> Error in ft_headmodel_openmeeg (line 35)
> ft_hastoolbox('openmeeg', 1);
> ...
>
> How can I make matlab see path? I have read that one has to add these
>
> export PATH=$PATH:/opt/openmeeg/bin
> export DYLD_LIBRARY_PATH=/opt/openmeeg/lib:$LD_LIBRARY_PATH
>
> Where have these to be added, in the startup.m, terminal, or linux script?
>
> Thank you,
>
> Octavian
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
More information about the fieldtrip
mailing list