Your attention is drawn to the terms and conditions of the Software License Agreement (in file lic_agr.txt) regarding the use of NAG software. Any request to use this software other than on the licensed computer must be referred to NAG, as should requests for information about the availability of other implementations.
This implementation is a compiled, tested, ready-to-use version of the NAG Toolbox for MATLAB that is considered suitable for use on the computer systems detailed below:
hardware: x86-64 systems and compatible operating system: Microsoft Windows Vista/7 MATLAB Version: 7.8 (R2009a)
The user needs to have MATLAB installed. In order to use this NAG Toolbox for MATLAB with MATLAB version 7.9 (R2009b) or later, the environment variable KMP_DUPLICATE_LIB_OK must be set to TRUE. See Section 4.1.2 below for more details.
For compatibility with MATLAB, this implementation uses 64-bit integers.
Please check the following URL:
for details of any new information related to the applicability or usage of this implementation.
Help material 34Mb Toolbox files 199Mb
If you have an earlier version of the NAG Toolbox for MATLAB already installed, we recommend that you uninstall it before installing this version.
You must have Administrator privileges to install this software.
If you have the toolbox materials on CD, insert the CD into your CD
drive to display the NAG CD browser. Click on the
e:\NAG_Toolbox_Installation_Browser.exeto run the browser, or run e:\setup.exe to run the toolbox installation directly, where e is the drive letter for your CD drive.
If you have downloaded the toolbox materials from our website, run the self-extracting executable to start the installation.
After installation, you should ensure that the software described in Section 4.1 is present and accessible.
If the help materials are correctly installed, then on starting the MATLAB Help browser you should see the entry NAG Toolbox in the Contents list.
A quick test that the software has been correctly installed is to type s07aa(0) at the MATLAB prompt to calculate tan(0). This should return the answer 0.
To test that a valid licence is available, type a00ac at the MATLAB prompt. This will return 1 if a valid licence is found, or 0 otherwise.
This software is provided with an uninstallation facility via
Control Panel|Programs and Features|Uninstall or change a program
Running the setup program again will allow you either to install another instance of the toolbox to a different location (e.g. under a different release of MATLAB), or to select an instance of the toolbox to uninstall by selecting the Maintain or update the instance of this application shown below option and the appropriate instance and then selecting the Remove option from the next dialog.
If you choose to have your MATLAB path updated during installation, the file toolbox\local\pathdef.m will be modified. If you choose not to have your path modified then there are a number of ways in which this may be done by hand. Search for "matlab path" in the MATLAB online help system for one method, and for pointers to several others. If updating by hand then it is essential to ensure that the folders containing the help files and demos appear in the MATLAB path after that containing the executable files. For example, if you install the toolbox under C:\MyMatlab then your MATLAB path should contain the folders:
To use this NAG Toolbox for MATLAB with MATLAB version 7.9 (R2009b) or later, the environment variable KMP_DUPLICATE_LIB_OK must be set to TRUE in order to avoid a clash of runtime libraries which may cause MATLAB to abort. Setting this environment variable is not required if you are using this Toolbox with MATLAB 7.8 (R2009a).
You may optionally set this environment variable as part of the installation procedure, either for all users or for the current user only.
Alternatively, the KMP_DUPLICATE_LIB_OK environment variable may be set from the Control Panel:
Note that although Intel suggest this solution as a work-around, they state that it is "not really recommended" and warn that it can cause performance degradation. See
Our testing suggests that this setting enables the successful use of this NAG Toolbox for MATLAB under MATLAB R2009b and R2010a. More information may be available from the Post Release Information page:
We are developing a version of the NAG Toolbox for MATLAB which will avoid the need to set this environment variable. Please check our website for availability:
In order to enable the software, NAG will issue you with a license key. The license key is a simple text file containing details of the software that will be enabled. For evaluation purposes a trial license may be used. To get a trial license contact the NAG Response Centre. Before obtaining a full license you need to know the Kusari hostid of the system on which you intend to use this product and how to do this is described below.
The easiest way to request a license key is to use the GUI described in the next section. Once you have a key, the same GUI can be used to install it.
The information below covers the most common requirements. For more complex licensing situations, please contact us.
Once you have your license key, the same GUI can be used to install the key in the registry.
You can execute this GUI from
Start|All Programs|NAG|Toolbox for MATLAB Mark 22| Request or Install License Key for MBW6I22DKLThis GUI can also be run from the installation procedure.
On-line documentation, accessible via the standard MATLAB help facilities, is bundled with this implementation. Please see Section 4.
The NAG Response Centres are available for general enquiries from all users and also for technical queries from sites with an annually licensed product or support service.
The Response Centres are open during office hours, but contact is possible by fax, email and phone (answering machine) at all times.
When contacting a Response Centre, it helps us deal with your enquiry quickly if you can quote your NAG site reference and NAG product code (in this case MBW6I22DKL).
The NAG websites provide information about implementation availability, descriptions of products, downloadable software, product documentation and technical reports. The NAG websites can be accessed at the following URLs:
http://www.nag.co.uk/, http://www.nag.com/ or http://www.nag-j.co.jp/
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: email@example.com Tel: +44 (0)1865 511245 Tel: +44 (0)1865 311744 Fax: +44 (0)1865 310139 Fax: +44 (0)1865 310139 NAG Inc 801 Warrenville Road Suite 185 Lisle, IL 60532-4332 NAG Inc Response Center USA email: firstname.lastname@example.org Tel: +1 630 971 2337 Tel: +1 630 971 2337 Fax: +1 630 971 2706 Fax: +1 630 971 2706 Nihon NAG KK Hatchobori Frontier Building 2F 4-9-9 Hatchobori Chuo-ku Tokyo 104-0032 Japan email: email@example.com Tel: +81 (0)3 5542 6311 Fax: +81 (0)3 5542 6312