2022-04-18 01:54 AM
When I try to build and generate code for my model on matlab/simulink I recieve the following error:
The call to stm32_make_rtw_hook, during the entry hook generated the following error:
getSTM32CubeMxPath:PathNotFound for 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
===> Install STM32CubeMX tool or Update/Apply path from: Configuration Parameters > Code Generation > STM32 Options
The build process will terminate as a result.
Caused by: getSTM32CubeMxPath:PathNotFound for 'C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe'
===> Install STM32CubeMX tool or Update/Apply path from: Configuration Parameters > Code Generation > STM32 Options
Even though the path is correct MATLAB does not seem to be able to recognize the program.
I could not find anyone else who encountered the same problem. Does anyone know the solution to this? Thanks in advance
2022-05-08 09:02 PM
Hello,
Can you please point to the documentation you are referring to?
Can the space in "C:\Program Files\" ( between Program and Files be the issue?
Possible to put it in a path where we don't see a blank between the paths?
Regards,