Open nagversiondemo.m in the Editor
Run in the Command Window

This is an interactive demo demonstrating the use of the MATLAB ver command and the a00aa and a00ac toolbox commands on the MATLAB commandline to check the version and installation of the NAG Toolbox for MATLAB.

Note the commandline demo runner just displays results one step at a time. There is a Click Next to continue link in the MATLAB display that allows each step to be executed.