MATLAB Compiler Previous page   Next Page

Running the Application

These steps describe the process that end users must follow to install and run the application on their machines.

Preparing Windows Machines

  1. Install the MCR by running the MCR Installer in a directory. For example, run MCRInstaller.exe in C:\MCR. For more information on running the MCR Installer utility, see Installing the MCR on a Deployment Machine.
  2. Copy the executable and CTF archive to your application root directory, for example, C:\approot.
  3. Add the following directory to your system path.
  1. <mcr_root>\<ver>\runtime\win32

Preparing UNIX Machines

  1. Install the MCR by unzipping MCRInstaller.zip in a directory, for example, /home/<user>/MCR. You may choose any directory except <matlabroot> or any directory below <matlabroot>.

  1. Copy the executable and CTF archive to your application root directory, for example, /home/<user>/approot.
  2. Add the following platform-specific directories to your dynamic library path.

Linux.   

Solaris.   

Linux x86-64.   

HP-UX.   

Executing the Application

Run the magicsquare stand-alone application from the system prompt and provide a number representing the size of the desired magic square, for example, 4.

  1. The results are displayed as:


Previous page  Deploying the Application Coding with M-Files Only Next page

© 1994-2005 The MathWorks, Inc.