Problem creating PIL block for STM32F4 based board

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.

Réponses (1)

UDAYA PEDDIRAJU
UDAYA PEDDIRAJU le 30 Oct 2023

0 votes

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 commentaire

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.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by