ST Nucleo Board Support from Simulink Coder

Generate and deploy code for STMicroelectronics Nucleo boards.

Capabilities and Features

Generate ANSI/ISO C/C++ code that can be compiled and executed on STMicroelectronics Nucleo boards using MATLAB Coder™ and Simulink Coder™.

Simulink Coder lets you easily generate code from MATLAB® and Simulink® algorithms to control software interfaces. Simulink Coder provides support for the following STM Nucleo boards:

  • Nucleo-F401RE
  • Nucleo-F103RB
  • Nucleo-F302R8
  • Nucleo-F031K6
  • Nucleo-L476RG
  • Nucleo-L053R8
  • Nucleo-F746ZG
  • Nucleo-F411RE
  • Nucleo-F767ZI

Explore gallery (4 images)

You can use Embedded Coder to perform code verification using PIL tests for all the supported Nucleo boards except Nucleo-031K6, and you can also create your own customizations using published APIs and reference examples. For instance, you can generate processor-specific (non-ANSI) optimized code.

Supported Hardware

To learn more about the specific processors and evaluation boards supported for each MathWorks release, view the settings in the Target Hardware Resources section of the Code Generation Configuration Parameters provided with Simulink Coder.

Simulink Coder hardware support packages offer built-in, limited, support for specific hardware, schedulers, and compilers. Please click the Request Hardware Support link if you seek additional hardware support.

Platform and Release Support

See the hardware support package system requirements table for current and prior version, release, and platform availability.

View enhancements and bug fixes in release notes.

Related Hardware Support Views: ARM, Control Systems, C ∕ C++ Code Generation, Embedded Systems, I2C ∕ SPI, MathWorks Supported, Power Electronics Control Design, Serial, Simulink Coder, Simulink Product Family, STMicroelectronics, Support Package Installer Enabled

Ready to install?

Before installing the support package, confirm you have the correct setup. View system requirements and installation options.

Get support package




Support Package


Support Package Installer installs this support package and all required third-party software. To start the installer, go to the MATLAB toolstrip and click Add-Ons > Get Hardware Support Packages. For more information, read the documentation.

Get support package

Don't see the hardware you're looking for?