LEGO MINDSTORMS NXT is supported in various MATLAB releases, including Student Version. It is recommended to check the Hardware Support Package System Requirements page below to ensure you have the required release, operating system, and base product for your hardware support package:
The support packages currently available are as follows:
Support from Simulink
LEGO MINDSTORMS NXT hardware was retired by LEGO in 2013 and built-in support from Simulink for LEGO MINDSTORMS NXT is available until MATLAB R2016b.
We recommend migrating to LEGO MINDSTORMS EV3 hardware and use LEGO MINDSTORMS EV3 Support from Simulink instead, which is available for download for Windows and Linux since MATLAB R2014a, and for all platforms since MATLAB R2016a:
Connection to LEGO MINDSTORMS NXT can be achieved from MATLAB by using the third-party toolbox RWTH - Mindstorms NXT Toolbox, which is available at the link below. Please be aware that this is a third-party toolbox and, as such, any question related to it should be addressed to the developers of the toolbox.