Your attention is drawn to the terms and conditions of the Software License Agreement 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: Apple Intel Mac 64-bit operating system: OS X 10.5 and compatible MATLAB Version: 7.9 (R2009b), 7.10 (R2010a), 7.11 (R2010b), 7.12(R2011a), 7.13 (R2011b), 7.14 (R2012a)
The system must have MATLAB installed. This product has been tested on MATLAB R2010b SP2, R2011a, R2011b and R2012a, and may work on later releases. It will also work on MATLAB R2009b and R2010a, but some of the examples in the documentation will fail due to the use of arithmetic on objects of class int64, a feature introduced by MATLAB in R2010b. These examples can be made to work by coercing the objects to class int32 before the arithmetic is done and, if necessary, coercing them back to int64 afterwards. More details may be available on the post release page (see Section 2.2).
Please check the following URL:
for details of any new information related to the applicability or usage of this implementation.
Help material 51 MB Toolbox files 191 MB
If you received the product on CD then simply insert it in your CD drive and, if necessary, mount the CD device (normally this will happen automatically). This will contain the same files as the .dmg file above.
To install the NAG Toolbox for MATLAB software, double click on toolbox_installer.jar and follow the instructions.
You will be able to choose the location under which the NAG Toolbox for MATLAB is installed.
If you choose not to allow the installer to update your MATLAB path, you will have to make the changes manually.
After installation, you should ensure that the software described in Section 4.1 is present and accessible. Then on starting the MATLAB Help browser you should see the entry NAG (64 bit) Toolbox in the Contents list.
A quick test that the software has been correctly installed is to type a00aa at the MATLAB prompt, which should print some implementation details.
The installer will detect the MATLAB versions installed in the default location (i.e. /Applications/) and you may choose one of them to install the NAG Toolbox inside. In this case, the help files will go under [matlab_dir]/help/toolbox/NAG while the executable files will go under [matlab_dir]/toolbox/NAG/mex.maci64. You will then be asked if you want to update the path of this MATLAB version.
You can choose to install the NAG Toolbox for MATLAB material elsewhere. You will then be able to specify the path of a MATLAB installation (e.g. /Applications/MATLAB_R2012a.app) should you want to update its path.
The MATLAB path can be updated during installation, i.e. the file toolbox/local/pathdef.m will be modified and will have the lines:
'[executable_install_dir]/mex.maci64:', ... '[help_install_dir]/NAG:', ... '[help_install_dir]/NAGToolboxDemos:', ...inserted. If you install a newer compatible version of MATLAB after installing the NAG Toolbox for MATLAB you may choose to reinstall the NAG Toolbox for this version.
If you choose not to have your path modified then there are a number of ways by 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 directory containing the help files appears after that containing the executable files.
Your MATLAB script may be modified during installation and the file bin/matlab in the MATLAB distribution will have the lines:
# BEGIN NAG Toolbox Installation Modifications DYLD_LIBRARY_PATH=[executable_install_dir]/mex.maci64:$DYLD_LIBRARY_PATH # END NAG Toolbox Installation Modificationsadded to it. If you decide to modify your DYLD_LIBRARY_PATH by hand for a new installation of MATLAB then a good approach is to edit the definition of LDPATH_PREFIX in the .matlab7rc.sh file. The main reason that this is not the approach taken by the installation script is that MATLAB allows a user to override the system-wide version with his/her own
cd [executable_install_dir] sudo ./UNINSTALL.maci64This will remove the NAG toolbox and will restore your MATLAB path and MATLAB script.
Alternatively, you may either drag the directories shown in Section 4.1 to the trash or from the Finder menu choose "Move to Trash" and then select "Empty Trash" from the Finder menu. Using this method, you will need to modify your MATLAB path and MATLAB script to remove references to the NAG Toolbox yourself.
A short term (demonstration or trial) license key contains one or more lines like the following:
MBMI623DD TRIAL 2012/10/10 "EMnxidA3oeoj0F1Yvi5ibxPjB7"Specifically, it has a line containing the word TRIAL. Longer term license keys must be locked to a specific computer, i.e. they will enable the software on one computer only. These license keys include the word NODE instead of the word TRIAL above.
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.
License key request and installation is performed through the license installer (license_installer.jar). The NAG Toolbox for MATLAB Installer will launch the license installer after installing the toolbox and you will be prompted for a license key. If you do not have a license key, choose the option to generate a request form, which you can complete and send to NAG via e-mail (or fax).
Once you have obtained one of the above license keys you can enter it into the license installer (license_installer.jar). If you are an administrator, the license installer will try to save the license key in /opt/NAG/nag.key (prepending to the file if it already exists) by default. Otherwise, it will be installed in ~/nag.key but this will only be accessible for the current user. The toolbox will then validate the license at runtime.
If you need to update or change the license key after installation, we recommend that you run the license installer again.
Further details about Kusari and how it may be configured to suit your local circumstances (e.g. how to install the license key on a server) are included in the Kusari License Management documentation available from http://www.nag.co.uk/Kusari/download.asp. See also the Kusari FAQ: http://www.nag.co.uk/Kusari/kusari_faq.html.
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 or account number and NAG product code (in this case MBMI623DDL).
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:
NAG Ltd Wilkinson House Jordan Hill Road OXFORD OX2 8DR NAG Ltd Response Centre United Kingdom email: firstname.lastname@example.org 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: email@example.com 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 Nihon NAG Response Centre Japan email: firstname.lastname@example.org Tel: +81 3 5542 6311 Tel: +81 3 5542 6311 Fax: +81 3 5542 6312 Fax: +81 3 5542 6312 NAG Taiwan Branch Office 5F.-5, No.36, Sec.3 Minsheng E. Rd. Taipei City 10480 NAG Taiwan Response Centre Taiwan email: email@example.com Tel: +886 2 25093288 Tel: +886 2 25093288 Fax: +886 2 25091798 Fax: +886 2 25091798