Main Content

Analog Output

Generate voltage on the specified analog output pin in volt (V)

Since R2023a

  • Analog Output block

Simulink Coder Support Package for STMicroelectronics Nucleo Boards/ Common


The Analog Output block generate voltage on the specified analog out pin in volt (V) on the hardware. The block accepts normalized decimal values in the range 01.



expand all

If the generated voltage equals the ground voltage, the block emits 0. If the generated voltage equals the analog reference voltage, the block emits 1.


expand all

Specify the digital pin.

To open the pin mapping table, click View pin map.

Make sure to assign different pin name to the different blocks of your model.

Apart from the pins names mentioned in the pin mapping table, there are other alternate pin names (Px_y_ALTz) that can be used to access other hardware peripherals connected to the same pin. To know more, refer to Usage of Alternate Pin Names.

The alternate pin names are only applicable for Simulink® Coder™ Support Package for STMicroelectronics® Nucleo Boards and Discovery boards.

Version History

Introduced in R2023a

See Also