For OS X, there are a few important tips:
- You need a compiler installed -> you need XCode installed. You can get these via the App Store for free or, pre-Lion releases, from your install disc.
- Most important tip** Before running ./configure --enable-matlab, you need to set the $MATLAB environment variable, which isn't set by default on OS X. Do this via export MATLAB=/Applications/MATLAB_R2012a.app (with 'R2012a‘ changed to whatever your MATLAB version is.)
- You don't need to 'make install' for using EEGLAB. Instead just copy the .mexmaci64 files from the mex/matlab folder to the anteepimport1.08 (version number may differ, but that was the latest based on a SVN checkout from a few days ago) subfolder in the eeglab plugins folder. If you there is no anteepimport plugin folder, then you need to create one and copy the contents of both mex/matlab and mex/eeglab to it.
- If you need to make install for other reasons, you have to sudo.
No comments:
Post a Comment