Skip to main content
IB1
Visitor II
March 7, 2021
Question

how to solve this error? in simulink

  • March 7, 2021
  • 1 reply
  • 932 views

0693W000008wDwQQAU.pngHi.

i uses matlab2019 and i want to design software using simulink.

but, when i add "GPIO_WRITE STM32", simulink generates this error.

did you know about this error? and solution?

This topic has been closed for replies.

1 reply

SKamb.2
Visitor II
May 16, 2021

Try to enable the GPIO pin that you are intending to use as 'GPIO_Output' in the <.ioc> file in CubeMX. Then save it. In Simulink update the model (Ctrl + D).

Then you should be able to use the pin.