For fast creation of modular hierarchical random networks (MHRN)
For all systems, first clone this repository.
You need to have the current XCode version installed (free in AppStore). Open Matlab and change into the directory of the repository. At first, there's two files you need to change.
>>> cd /path/to/repository
>>> edit ([matlabroot '/bin/maci64/mexopts/clang++_maci64.xml'])
>>> edit ([matlabroot '/bin/maci64/mexopts/clang_maci64.xml'])
In both files, copy lines matching occurences of MacOSX10.x.sdk
and change MacOSX10.x.sdk
to MacOSX10.11.sdk
(or whichever current version of XCode you're using).
Now, run
>>> setup
>>> cd sandbox
>>> matlab_test
$ sudo pip install ./cMHRN
$ python sandbox/mhrn_test.py