Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Install the Excel Add-In

Install with the Generated Installer

Note

The client installer installs under user's local profile which does not require administrative privileges.

The Production Server Compiler app generates an installer that you use to install the add-in and configure it to connect to a MATLAB® Production Server™ instance.

To install the add-in:

  1. Locate the installer in the for_redistribution\client folder.

  2. Double click the installer to start it.

  3. In the Install location field, enter the location where the Excel® add-in is installed.

  4. Specify the URL of the deployable archive powering the Excel add-in.

    1. Click Modify.

    2. In the Host field, enter the host name or the full URL of the machine running the MATLAB Production Server instance with the deployable archive.

    3. In the Port field, enter the port number on which the server instance listens for incoming requests.

      The default port number is 9910.

    4. Click Save.

  5. Click Install.

Install with the Raw Files

In the client\for_redistribution_files_only you will find the following files:

  • projName.dll— Dynamic library required by the add-in

  • projName.bas — VBA module file created for the add-in

  • projName.xla — Excel add-in file

    Note

    If projName.xla is not generated, you can still install the add-in using projName.bas. See XLA File Not Generated for more information.

  • serverconfig.dll- Excel add-in that manages the server configuration

On the machine running the add-in, you must register the following DLLs with the regAsm /codebase command:

  • mymagic.dll

  • serverconfig.dll

If mymagic.xla is generated, install the add-in into Excel. If not, import mymagic.bas to the workbook's Visual Basic project.

Note

If you do not have administrative privileges on the machine, you can run regAsm with the /regfile option.

Was this topic helpful?