Skip to content

Toolboxes class

Brian Wandell edited this page Dec 18, 2017 · 15 revisions

Toolboxes methods

The key toolboxes methods are saveinfo, install and clone. These methods add a github repository with your project's toolbox onto your Matlab path. The scitran method, 'runFunction', downloads and executes a function stored on the Flywheel site, typically on a project page, that relies on these toolboxes.

We suggest that you include the toolboxes.install or toolboxes.clone within the function you are sharing and that will be executed by scitran.runFunction. The toolboxes command first check whether the toolbox is on your path, and the function only downloads if the toolbox is not present.

saveinfo

install

Read a toolbox.json file and get a zip archive, put it on path

clone

Clone a a git repository and add it to your path. cloneDepth allowed.

github

Open a browser on the github site

tbx.github('page','wiki')

test

Test whether the repository already exists on the user's path

Clone this wiki locally