First you will need to install the Embedded Coder Support Package for Freescale FRDM-KL25Z Board. When you install this support package, you will also get several other pieces of software. One of these pieces of software is called the Freescale Cup Companion, which is a MATLAB App that is meant to make it easy to use this support package for the Freesclale Cup Competition. It has an example with step-by-step instructions on how to use the linescan camera with the support package.
In order to open the App you will need to go to the Apps Tab in MATLAB:
From there, if you do not see the Freescale Cup Companion Icon:
You will need to select the down-arrow at the far right of the App Icons to reveal more Apps. Once you have found the Freescale Cup Companion App Icon, simply click on it to open the App. The App Should look like this:
If you double-click on the Additional Example “View Live Camera Data” it will open a document that shows the step-by-step directions you are looking for.