The RWTH - Mindstorms NXT Toolbox provides several MATLAB functions for controlling LEGO® MINDSTORMS® NXT robots, including NXT system features, sensors, and motors via a Bluetooth or USB connection. Also some helper functions for an effective programming are implemented.

The development of the RWTH - Mindstorms NXT Toolbox was motivated by a RWTH Aachen University student project - MATLAB meets LEGO Mindstorms - for electrical engineering students and therefore designed mainly for education purposes.
In winter 2008 over 380 students and 80 supervisors participated in this project and developed and programmed 200 robots based on the RWTH - Mindstorms NXT Toolbox for MATLAB.
http://www.lfb.rwth-aachen.de/mindstorms

As a coach for FLL (First Lego League), all methods of programming Legos with more accuracy and ease is of great interest. Once I learn the ins and outs of using Mat Lab with Lego, I will then be able to help my students to learn that there are many ways to accomplish the same end results. Some of those methods are just more convenient than others. Following the path of least resistance is often the most natural path toward betterment and fulfillment, better known as success.