MATLAB Answers


Is LEGO MINDSTORMS NXT supported in previous releases?

I would like to develop algorithms to run on LEGO MINDSTORMS NXT using Simulink and I would like to know if it is supported in previous releases.




1 Answer

Answer by MathWorks Support Team on 24 Apr 2018 at 4:00
Edited by MathWorks Support Team on 24 Apr 2018 at 19:56
 Accepted Answer

LEGO MINDSTORMS NXT is supported in various MATLAB releases, including Student Version. It is recommended to upgrade to the latest release if at all possible, as that will generally be the most capable offering from MathWorks. 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 discontinued as of April 2018.
  • We recommend to migrate to LEGO MINDSTORMS EV3 hardware and use LEGO MINDSTORMS EV3 Support from Simulink instead, which is available for download for Windows and Linux since R2014a, and for all platforms since R2016a:​

Support from MATLAB

  • Connection to LEGO MINDSTORMS NXT can be achieved from MATLAB (works with releases R2008b - current) and from Simulink Student Version (works with releases R2009a - current).
  • The hardware catalog page with detailed information about support from MATLAB is available at:

Support from Embedded Coder

  • A demonstration that uses Embedded Coder to program a LEGO MINDSTORM NXT robot is available at the following MATLAB Central File Exchange entry:

< >

  • Works with R2006a - R2012a (32bit/64bit)


Sign in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today