Problem creating PIL block for STM32F4 based board

1 Ansicht (letzte 30 Tage)
Pradeep Tamma
Pradeep Tamma am 26 Okt. 2023
Kommentiert: Adit Kirtani am 2 Nov. 2023
Hi all,
I need help in runing PIL simulation for my STM32F410RB NuCLEO board.
I'm trying to generate a PIL block of the controller in "Code Verification and Validation with PIL" example. But I'm getting the following error.
C:\Users\pradeept\AppData\Local\Microsoft\WindowsApps\python.exe\mwcoder_CoderAssumpHostAppSvc.lib not detected; check that you are in the correct current folder, and check the spelling of 'C:\Users\pradeept\AppData\Local\Microsoft\WindowsApps\python.exe\mwcoder_CoderAssumpHostAppSvc.lib'.
I'm not sure why and what is casuing this error. it will be greatly apprecitated if anyone can help me.

Antworten (1)

UDAYA PEDDIRAJU
UDAYA PEDDIRAJU am 30 Okt. 2023
Hi Pradeep,
As per my understanding, the error message you’re encountering seems to suggest that the file “mwcoder_CoderAssumpHostAppSvc.lib” is not found in the specified directory.
This could be due to nonexistence of the required file, try the following solutions:
  1. The file might not exist in the mentioned directory. Verify and ensure that the file is located at “C:\Users\pradeept\AppData\Local\Microsoft\WindowsApps\python.exe\”.
  2. Ensure that the target hardware and board settings are correctly specified for your “STM32F410RB Nucleo [SK1] [UB2] board”.
  3. MATLAB Environment: Ensure that you have the necessary MATLAB environment and toolboxes installed, including the “Embedded Coder and Simulink Coder”. These toolboxes are required for generating PIL blocks.
I hope this gives an idea on how to proceed!
  1 Kommentar
Pradeep Tamma
Pradeep Tamma am 30 Okt. 2023
Hi Udaya,
Thanks for the response. That is the first thing I did, to see if the missing file exitis. But I was not able to find one as we cannot go into "python.exe" file. and I cannot find that file anywhere in the MATLAB/SIMULINK installations.
The funny thing is I was able to deploy the code using "Build,Deploy & Start" button. But when I start running simulation with "Tune & Monitor" which basically use external mode I am getting the above mentioned error. And there is no possiblity to activate this "external mode" for STM32 boards.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by