I found that I need to go to "Configuration Parameters" and select "STM32 Options" in the Code Generation. There, I ticked "STM32CubeMx Path update". Now it works.
SMT32 Embedded target and error executing the PostApplyCallBack of the target
20 views (last 30 days)
I installed the STM32 Embedded Target, and I am trying to build a model in Simulink.
By following the instructions in the manual provided by ST, I have added the relevant path for STM32 in Matlab and, in Similink, I go to " Configuration Parameters --> Code Generation " and select "System target file" stm32.tlc from the list. So far so good.
But, when I press "OK", I get the following error:
"Error executing the PostApplyCallback of the target "stm32.tlc": Path not found ===> SMT32CubeMx not installed or modify "STM32CubeMx installation path" field."
I have the SMT32CubeMx installed. How can I modify the installation path field?