Main Content

Open Block Library for the Simulink Coder Support Package for STMicroelectronics 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.

    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.

    In the command window, enter nucleoutilitieslib.

    The STM Nucleo Utilities block library opens.

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

    On the Simulink® Editor toolbar, click the Library Browser

    icon.

    In the Simulink Library Browser, locate and select the Simulink Coder™ Support Package for STMicroelectronics Nucleo Boards on the library pane. The blocks available for the support package appear on the right pane of the Simulink Library Browser.