-
Shell/Powershell/Command Prompt.
If you intend to use it without pushing code then to simply download the code from the command line run
git clone https://github.com/ChristmasZCY/Mbaysalt.git
If you want only the latest version and not the full repository run
git clone --depth=1 https://github.com/ChristmasZCY/Mbaysalt.git
Any time you want to update the code to the latest version, run from the command line
git pull (--unshallow)
-
Change Exfunctions install switch which you want to open.
cd /path/to/Mbaysalt vim Mbaysalt/Configurefiles/INSTALL.json
- If you want to install submodule, change value of
INSTALL
inINSTALL.json
totrue
Such as if you want to install submodulematFigure
, you can changepackages:gitclone:matFigure:INSTALL
totrue
. - If
git
is not in your system path, you can set your git-path inINSTALL.json
atgit:path
. - If you want to clone at github mirror, you can set your mirror in
INSTALL.json
atgit:mirror
. It will replacehttps://www.github.com
inINSTALL.json
atpackages:gitclone:*:URL
to your mirror.
- If you want to install submodule, change value of
-
Matlab
addpath('Mbaysalt') ST_Mbaysalt()
Or if you want the basic module not all module, you can run
ST_Mbaysalt('add','./Examples/INSTALL_custom.json','init')
If you want to delete the path, you can run
ST_Mbaysalt('rm')
It will reserve basepath, and remove all other paths.