generating code from MATLAB Simulink for F28335 getting this error.

7 views (last 30 days)
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 Comment
praguna manvi
praguna manvi on 13 Mar 2025
Hi @Dolly,
Seems like a "DepedencyFileUpdate.ps1" is not digitally signed correcly, can you try reinstalling or updating Matlab.

Sign in to comment.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!