Installation and First Steps

Install BattMo by cloning the git repository using --recurse-submodules to also install the MRST dependencies.

First, open a terminal and navigate to the directory where you would like to install BattMo. Then, clone the repository using the following command:

git clone --recurse-submodules https://github.com/BattMoTeam/BattMo.git

Start MATLAB and in the directory battmo where you cloned the repository. In the MATLAB Command Window run:

startupBattMo

You can check that that your installation is setup correctly by running one of the example scripts

runBatteryP2D

Here is video which guides you through the installation in details

For a detailed guided installation of git, you can consult this video