User`s guide

3 Usage Examples
Multiple Files and Va riab le Arguments Example
The M-file, myplot, takes a single integer input and plo ts a line from 1 to
that number.
The M-file,
mysum, takes an input of varargin of type integer, adds all the
numbers, and returns the result.
The M-file,
myprimes, takes a single integer input n and returns all the prime
numbers less than or equal to
n.
The Microsoft Excel file,
mymulti.xls, demonstrates these functions i n
several ways.
Note To get started, copy the distributed directory xlmulti from
<matlab>\toolbox\matlabxl\examples\xlmulti to <matlab>\work.
Creating the Project
1 From the MATLAB command prompt, change directories to <matlab>\work.
2 If you have not
already done so, execute the following command in
MATLAB:
mbuild -setup
Be sure to choo
se a supported compiler. S e e Supported Compilers at
http://www.m
athworks.com/support/tech-notes/1600/1601.shtml
.
3 W hile in MATLAB, issue the following command to open Deployment Tool:
deploytool
4 Create a project with the following settings:
3-6