-
Notifications
You must be signed in to change notification settings - Fork 15
Compilling Xmipp with Matlab
EstrellaFG edited this page Apr 29, 2022
·
1 revision
Xmipp has a binding to MATLAB, which allows the user to run specific Xmipp functions inside MATLAB.
It is required to have a regular MATLAB installation.
Make sure you have these settings in your Xmipp configuration file (xmipp-bundle/xmipp.conf
) before compiling Xmipp:
MATLAB=True
MATLAB_DIR=<path to your MATLAB instalation>
(usually something like: MATLAB_DIR=/home/user/MATLAB/R2021b
)
- Compile Xmipp normally (once the settings are as above):
./xmipp
orscipion run ./xmipp
- Open MATLAB
- In MATLAB, set the path to Xmipp binding:
HOME > Set Path > Add Folder...
and select the path to the binding (<path to xmipp>/xmipp-bundle/build/bindings/matlab
), then, click inOpen
andSave
- Now you should be able to run functions like
xmipp_read()
in MATLAB
Developed by xmipp team