40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Fri Dec 7 18:28:30 2007, tobin, Update, Computer Scripts / Programs, compiled matlab hoses itself 
    Reply  Fri Dec 7 18:31:30 2007, tobin, Update, Computer Scripts / Programs, compiled matlab hoses itself 
Message ID: 181     Entry time: Fri Dec 7 18:28:30 2007     Reply to this: 182
Author: tobin 
Type: Update 
Category: Computer Scripts / Programs 
Subject: compiled matlab hoses itself 
Andrey pointed out to me that some matlab functions in the Signal Processing Toolbox were dying with errors. Looking into the .m file (identified using the "which" command), I was surprised to see binary garbage rather than glistening, clear Matlab prose. Then I noticed the directory in which it was finding the .m file:
>> which decimate
/cvs/cds/caltech/apps/mDV/extra/linetrack_c_mcr/toolbox/signal/signal/decimate.m
See that "linetrack_c_mcr" directory? This is what is generated when a "compiled" (grumble) Matlab program is run--it decompresses itself into a subdirectory containing weird semi-compiled binary .m files. Unfortunately this is somehow getting incorporated into the matlab path. (I assume there is something in mDV that says "put all subdirectories into the path.")

I hate the Matlab compiler.
ELOG V3.1.3-