NAG Toolbox for MATLAB


Windows XP/2000/2003/Vista

Installer's Note


1. Introduction

This Installer's Note is essential reading for whoever is responsible for the installation of this implementation of the NAG Toolbox for MATLAB.

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.

2. Implementation Provided

2.1. Applicability

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-32 systems and compatible
operating system:     Microsoft Windows XP/2000/2003/Vista
MATLAB Version:       7.4 (R2007a), 7.5 (R2007b), 7.6 (R2008a)
The toolbox is self-contained, but a licence for Mark 21 of the NAG Fortran Library must be installed and available. This product is compatible with the following products without any further configuration.
x86-32 Windows, Intel Visual Fortran 8.1
x86-32 Windows, Intel Visual Fortran 8.1
x86-32 Windows, Intel Visual Fortran 8.1
x86-32 Windows, Compaq Visual Fortran 6.6
x86-32 Windows, Intel Visual Fortran 8.1 (Multi-threaded)
x86-32 Windows, Lahey/Fujitsu Fortran

For an up-to-date list of compatible products, please see the Web page

The user needs to have MATLAB installed. This implementation may work with versions of MATLAB later that 7.6 (R2008a).

3. Distribution Medium

The software is ordinarily distributed on CD-ROM; it can also be downloaded from any of the NAG Web sites (see NAG Websites).

3.1. Contents

By default, MBDLL214Z is installed within the users' MATLAB installation. The help files will be placed in the subfolder help\toolbox\NAG whilst the executable files will be placed in toolbox\NAG\mex.w32.

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 folder containing the help files appears in the MATLAB path after that containing the executable files. For example, if the you install the toolbox under C:\MyMatlab then your MATLAB path should contain the folders:

in that order.

3.2. File Sizes

The files sizes are given below. The actual disk space used is dependent on the hard disk allocation unit (cluster) size.
Help material    16Mb
Toolbox files    66Mb

4. Installation

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 a compatible NAG Fortran Library (see Section 2.1) with a valid licence already installed, then it is only necessary to install the Toolbox itself. If you do not already have a suitable Library product installed, then please install the NAG Fortran Library supplied with the Toolbox first. (The Library installation is supplied on the CD or available for download.) Follow the instuctions supplied with the Library for obtaining and installing a licence key.

If you have the toolbox materials on CD, insert the CD into your CD drive to display the NAG CD browser. Click on the Install ... button and follow the instructions. If the CD does not autorun, run

to 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 3.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|Add or Remove Programs
on Windows XP, or via
  Control Panel|Programs and Features|Uninstall or change a program
on Windows Vista.

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.

5. Documentation

On-line documentation, accessible via the standard MATLAB help facilities, is bundled with this implementation. Please see Section 4.

6. Support from NAG

NAG will provide free support for this product for a period of 90 days from the date of purchase. Beyond that period, support will continue to be provided for users who have a current support agreement for the underlying NAG library implementation.

(a) NAG Response Centres

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 MBDLL214Z).

(b) NAG Websites

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:, or

(c) NAG Electronic Newsletter

If you would like to be kept up to date with news from NAG then please register to receive our free electronic newsletter, which will alert you to special offers, announcements about new products or product/service enhancements, customer stories and NAG's event diary. You can register via one of our websites, or by contacting us at

7. User Feedback

Many factors influence the way that NAG's products and services evolve, and your ideas are invaluable in helping us to ensure that we meet your needs. If you would like to contribute to this process, we would be delighted to receive your comments. Please contact any of the NAG Response Centres (shown below).

Appendix - Contact Addresses

Wilkinson House
Jordan Hill Road
OXFORD  OX2 8DR                         NAG Ltd Response Centre
United Kingdom                          email:

Tel: +44 (0)1865 511245                 Tel: +44 (0)1865 311744
Fax: +44 (0)1865 310139                 Fax: +44 (0)1865 310139

801 Warrenville Road
Suite 185
Lisle, IL  60532-4332                   NAG Inc Response Center
USA                                     email:

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

Tel: +81 (0)3 5542 6311
Fax: +81 (0)3 5542 6312