Added matlab script to generate structured output data.