Skip to content

benmaier/cMHRN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cMHRN

For fast creation of modular hierarchical random networks (MHRN)

Install

For all systems, first clone this repository.

Matlab (Mac OSX)

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

Python

$ sudo pip install ./cMHRN

Example

Python

$ python sandbox/mhrn_test.py

About

Creates modular hierarchical random networks in a fast manner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published