MATLAB Compiler    

Invoking the M-File

To get a baseline reading, you can determine how long it takes the MATLAB interpreter to run gasket.m. The built-in MATLAB functions tic and toc are useful tools for measuring time.

On the Pentium Pro 200, the M-file took about 10 seconds of CPU time to calculate the first 50,000 points on the Sierpinski Gasket.


 A Simple Example - The Sierpinski Gasket Compiling the M-File into a MEX-File