|
File InstallXcom.html
Author McKeeman
Copyright © 2007
index
A Short Course in Compilers
|
Installing mxcom
-
Download mxcom
to Intel x86 WIN, Linux or Apple.
- Unzip the mxcom directory into a folder writable by you.
- Change directory to your mxcom folder.
- Start MATLAB.
Quick Tests for xcom
| >> |
cd mxcom/m |
| >> |
makeMex |
% insures MEX files match platform |
| >> |
xcom x:=y+1 |
% requires input for y |
| |
% reports final value of x |
| >> |
xcom x/pi.x |
% executes program to compute pi |
More Thorough Tests for xcom
| >> |
addpath tests trials times |
| >> |
testAll() |
% run all unit tests |
| >> |
tryAll() |
% run all unit trials |
| >> |
timeAll() |
% time runs |
| |