MIREX Framework itinerary walkthrough, MATLAB

Kris West (kw@cmp.uea.ac.uk) , Andreas Ehmann (aehmann@uiuc.edu)

Abstract: This document provides a step-by-step walkthrough of integrating a MATLAB submission to MIREX2005 into one of the evaluation frameworks. The example presented is the creation of a submission to the Genre classification task, with external code built in MATLAB. Scripts used in this walkthrough are included in the M2K distribution.

Important Notes: There are a few specific things required of MATLAB submissions to make them properly function within the MIREX MATLAB frameworks. Firstly, since arguements (i.e. input file names and output file names) need to be passed to MATLAB scripts, MATLAB scripts must be defined as MATLAB functions. These functions can then take as input arguements, strings specifying the input and output filenames. Secondly, to signal that the MATLAB function has finished its computation and generated the necessary output file, the function must call exit; to terminate the current MATLAB process. For example a submission function should look something like this:
function my_function(inputfile, outputfile)
% Read the input file using the inputfile string. (e.g.) y = wavread(inputfile)
...
% Do the processing
...
% Generate output file using the outputfile string
...
exit;

start >>

To duplicate this walkthrough on your machine you will need to have installed:

Java 1.4.2 or greater
D2K Toolkit 4.1.1
M2K 1.1.3

Note: best viewed at a minimum resolution of 1024 x 768
To fullscreen press F11 (in both Explorer and Firefox)