The code has been tested on OS X Tiger (10.4) and Leopard (10.5), running Matlab 7.6.0.324 (R2008a). The Java source code is included for anyone interested in modifying it. All code is released under the GNU General Public License.
To try out the code: download qtcapture.zip, unzip it, launch Matlab, and type
>> cd ~/qtcapture % or wherever you unzipped qtcapture.zip
>> javaaddpath('.')
>> testqtc(640, 480)
You will probably want to add the qtcapture directory permanently to
your Matlab path (via File/SetPath)
and to your Java class path (via >>open classpath.txt).
To try out the code in Java, run the QTCTest application. For example, on a Unix system you can just type
% java QTCTest
Please contact me with any questions or suggestions.