File InstallXcom.html    Author McKeeman    Copyright © 2007    index

A Short Course in Compilers

Installing mxcom

  1. Download mxcom to Intel x86 WIN, Linux or Apple.
  2. Unzip the mxcom directory into a folder writable by you.
  3. Change directory to your mxcom folder.
  4. 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