


If not, add Applications/MATLAB_RXXXX.app/bin on your path (for instance with export PATH=$PATH:Applications/MATLAB_RXXXX.app/bin if your shell is bash and for XXXX your Matlab installed version.
INSTALL XQUARTZ ON COMMAND LINE INSTALL
The compilation of the Matlab interface (with the -enable-matlab option of the configure script) may fail due to a bad configuration of the Matlab compiler mex.įirst, you need matlab and mex commands accessible from your shell prompt. You will need to be familiar with the macOS terminal and you may need to install Xcode and its command line. You can simply use the addpath command in the octave command line. Now install socat - a command line tool that lets you redirect sockets in unix like OSs - thankfully it runs in OSX too as it is a really neat tool brew install socat Next we are going to install XQuartz - which basically gives you an X11 display client on your OSX desktop. Instead, you have to download the XQuartz program. This will bring up a new terminal window. Then click on the Applications Terminal menu item on the menus.
INSTALL XQUARTZ ON COMMAND LINE MAC OS X
Running the following command in the terminal installs the command-line tools: xcode-select -install Install XQuartz: Starting with Mac OS X 10.8, Apple stopped including X11 with their OS. The best way to use XPP is from the command line as this gives you many more options and much more flexibility. You can put addpath('toolbox_dir', '-begin') to your $HOME/.octaverc file After this, you need to install the command-line tools. The last step is to add the path to the toolbox in the octave path: 10.9 Maverick, you try install 'Command Line Tools' from the package for Mountain Lion. The compilation of the Octave interface is performed with the -enable-octave option of the configure script.įirst, you need octave and mkoctfile commands accessible from your shell prompt (for instance invoking brew install octave). Note that there are other options to the configure script.
