generating code from MATLAB Simulink for F28335 getting this error.

8 Ansichten (letzte 30 Tage)
Dolly
Dolly am 27 Feb. 2025
Kommentiert: praguna manvi am 13 Mär. 2025
I am working on for trapezoidal control of BLDC motor .i am trying to generate code from MATLAB Simulink for TMS320F28335 microcontroller. I am getting this error.
File C:\Program Files\MATLAB\R2024a\toolbox\c2b\tic2000_shared\tools\PostBuildDepedency\win64\DepedencyFileUpdate.ps1 cannot be loaded. The file C:\Program Files\MATLAB\R2024a\toolbox\c2b\tic2000_shared\tools\PostBuildDepedency\win64\DepedencyFileUpdate.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:3 + & 'C:/PROGRA~1/MATLAB/R2024a/toolbox/c2b/tic2000_shared/tools/PostBui ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
The make command returned an error of 2 The make command returned an error of 2.
  1 Kommentar
praguna manvi
praguna manvi am 13 Mär. 2025
Hi @Dolly,
Seems like a "DepedencyFileUpdate.ps1" is not digitally signed correcly, can you try reinstalling or updating Matlab.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by