Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m8r with MATLAB/Python #163

Open
gfeo1 opened this issue Aug 31, 2019 · 1 comment
Open

m8r with MATLAB/Python #163

gfeo1 opened this issue Aug 31, 2019 · 1 comment

Comments

@gfeo1
Copy link

gfeo1 commented Aug 31, 2019

Hi So from http://www.ahay.org/wikilocal/docs/Matlab_interface.pdf, I am trying to configure Matlab with Madagascar I did the

./configure API=matlab MATLAB=/path/to/matlab MEX=/path/to/mex

And then I tried to set the Matlab path to $RSFROOT/lib with
export MATLABPATH=$MATLABPATH}:~/usr/RSFSRC

but when I am in Spyder (Python), when I try to import m8r, I get the error:
"ModuleNotFoundError: No module named 'm8r'.

Does this have something to do with the $RSFROOT or path? =

@zhichenggeng
Copy link
Contributor

Hi, did you add the following line to your .bashrc file, if you are using bash

source ~/usr/RSFROOT/share/madagascar/etc/env.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants