From dd00d1bc9ea63996b916fc46fd48f7616a4a2c0d Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 22 Oct 2014 21:48:24 +0000 Subject: [PATCH] [Doc] Add instructions on adding Homebrewed Cantera to the Matlab path --- doc/sphinx/install.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/sphinx/install.rst b/doc/sphinx/install.rst index 0e717b255..6b92924cc 100644 --- a/doc/sphinx/install.rst +++ b/doc/sphinx/install.rst @@ -193,6 +193,17 @@ e.g.:: brew install cantera --devel --with-matlab=/Applications/MATLAB_R2014a.app/ +The Matlab toolbox, if enabled, will be installed in:: + + /usr/local/lib/cantera/matlab + +To use the Cantera Matlab toolbox, run the following commands in Matlab (each +time you start Matlab), or add them to a ``startup.m`` file located in +``/Users/$USER/Documents/MATLAB``, where ``$USER`` is your username:: + + addpath(genpath('/usr/local/lib/cantera/matlab')) + setenv('PYTHON_CMD', '/usr/local/bin/python') + .. _sec-install-ubuntu: Ubuntu