generating code from MATLAB Simulink for F28335 getting this error.

7 vues (au cours des 30 derniers jours)
Dolly
Dolly le 27 Fév 2025
Commenté : praguna manvi le 13 Mar 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 commentaire
praguna manvi
praguna manvi le 13 Mar 2025
Hi @Dolly,
Seems like a "DepedencyFileUpdate.ps1" is not digitally signed correcly, can you try reinstalling or updating Matlab.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by