On Mac OS X, you can use the following instructions to install the latest version of
nds2-client with the MacPorts package manager.
sudo port selfupdate
nds2-clientport with the MEX interface for Octave and SWIG interfaces for all supported languages with:
$Alternatively, you can manually choose which features to enable by manually selecting specific MacPorts variants. For example, the above is equivalent to:
sudo port install nds2-client
$You can replace
sudo port install nds2-client$
sudo port install py27-nds2-client
, etc., to enable the Python language interface for different versions of the Python interpreter. You can also use
to disable the Python, Octave, or Java/MATALB interfaces, respectively. If you have MATLAB installed, you can also build the legacy MEX interface for MATLAB using MacPorts by enabling the
sudo port install nds2-client +mex_matlab
$This should print the message:
sudo port select --set python python27
Selecting 'python27' for 'python' succeeded. 'python27' is now active.