PSM.download
Download the codebase for a PSM from Github
Syntax
Description
PSM.download(psmName)
Downloads the repository for the specified PSM from Github and adds the repository to the Matlab active path. The repository is downloaded to the current directory in a folder that matches the name of the repository. If the current directory already has a folder matching the name of the repository, then that folder must be empty. The downloaded repository is checked out at the commit supported by the DASH toolbox.
This command requires: 1. An internet connection, and 2. You have git installed and on your system path
PSM.download(…, ‘path’, path)
Downloads the repository contents into the specified folder. The folder must be empty.
PSM.download(…, ‘latest’, useLatest)
Specify whether the command should checkout the latest commit of the forward model - regardless of whether the latest commit is officially supported by the DASH toolbox. By default, checks out a supported commit.