Main Content

Open Block Library for the STM32 Nucleo Boards

You can open the STMicroelectronics® Nucleo boards block library in two ways.

  1. At the MATLAB® Command prompt - This approach is quick, but does not display the other Simulink® block libraries that are available.

    In the Command Window, enter stmnucleorootlib.

    The STM Nucleo library opens.

    nucleo lib

    Note

    You can click on the Common block or the Utilities block icons in this window to open the blocks from the respective block libraries.

    In the Command Window, enter stmnucleolib.

    The STM Nucleo Common block library opens.

    stm nucleo lib

    In the command window, enter nucleoutilitieslib.

    The STM Nucleo Utilities block library opens.

    stm utilities

  2. By using the Simulink Library Browser - Open a Blank Simulink model.

    On the Simulink® Editor toolbar, click the Library Browser

    SL icon

    icon.

    In the Simulink Library Browser, locate and select the STM32 library on the library pane. The blocks available for Nucleo appear on the right pane of the Simulink Library Browser.