cancel
Showing results for 
Search instead for 
Did you mean: 

how to solve this error? in simulink

IB1
Associate

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?

1 REPLY 1
SKamb.2
Associate

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.