Skip to content

Latest commit

 

History

History
142 lines (118 loc) · 6.5 KB

README.md

File metadata and controls

142 lines (118 loc) · 6.5 KB

Mbaysalt Toolbox

Mbaysalt means Matlab-baysalt-toolbox

English | 中文

Installation

  1. 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)
  2. 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 in INSTALL.json to true Such as if you want to install submodule matFigure, you can change packages:gitclone:matFigure:INSTALL to true.
    • If git is not in your system path, you can set your git-path in INSTALL.json at git:path.
    • If you want to clone at github mirror, you can set your mirror in INSTALL.json at git:mirror. It will replace https://www.github.com in INSTALL.json at packages:gitclone:*:URL to your mirror.
  3. 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.

Contains

Click to expand to see more