UpdateBpodSoftware()
Description
Launches the Bpod software update tool. This tool will update your local copy of the Bpod_Gen2 repository to the latest stable release.
Important Note: If you are using a version control tool (e.g. SourceTree, Git) to keep your Bpod_Gen2 folder current, you should use the tool's "Pull" function and NOT UpdateBpodSoftware().
As of August 2018, the software update tool is a BETA release, and works only on Win7 and Win10 with MATLAB r2014b or newer.
A backup copy of your existing Bpod_Gen2 folder will be made in your Bpod_Local folder.
The updater will overwrite any changes you may have made to your local copy of the Bpod_Gen2 repository, so if you made mods to the Bpod system files, make sure to back up your existing Bpod_Gen2 folder first! Note: behavior protocols, behavioral data, internal settings and calibration files are normally located in a separate folder outside of Bpod_Gen2 - make sure this is true of your system before proceeding.
Internet connectivity is required to launch the updater.
In event of an update failure, see instructions for manual update.
Please report any issues to support@sanworks.io.
Syntax
Note: Must be run while Bpod software is closed:
UpdateBpodSoftware()
Parameters
None
Returns
None
Example
% Example1: Launches the software updater
% Note: Run this with Bpod software closed
UpdateBpodSoftware();