updating

# SPACAR Light — updating installation

This page explains how to check whether an update to SPACAR Light is available and how to update your installation.

## Finding installed version

Given a working installation, simply running the included example.m file will produce a structure in the MATLAB workspace called out. That structure contains a version field, so entering out.version in the command window after a simulation shows what the current version is. Alternatively, you can enter help spacarlight and find the version number in the description.

Assuming that a version of SPACAR Light is installed according to the instructions and that a new version is available, simply overwrite [userpath]\spacar\spacarlight.m with the new file. Then, if MATLAB is still running, either restart it, or issue restoredefaultpath in the command window.