Assuming you downloaded the 64-bit MAC package with pre-build binaries (ComplexNetworksPackage.1.6.Mac64.zip), the binary executable files are included. They are the files ending in the .mexmaci64. Just unzip the file in to some directory, then either add that directory to your path (addpath
or pathtool
) or cd
to that directory in MATLAB. At that point you should be able to run the MEX functions by name (e.g. for mexGraphAllNodeNeighbours.mexmaci64, run mexGraphAllNodeNeighbours
at the MATLAB command prompt). Note that there are companion M-files with the same name as the MEX files that usually contain documentation, but occasionally contain a M file only implementation if a valid MEX-file is not available. Anyway, to check that you have for example mexGraphAllNodeNeighbours on your path,
which -all mexGraphAllNodeNeighbours
If it doesn't list the MEX-file, check your path and verify that you have the right platform (MAC 64-bit and 64-bit MATLAB installed).
Alternatively, you can download the source (ComplexNetworksPackage.1.6.Sources.zip) and build the MEX-files, but I wouldn't advise you to do that unless you have no choice.