generating code from MATLAB Simulink for F28335 getting this error.

7 次查看(过去 30 天)
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 个评论
praguna manvi
praguna manvi 2025-3-13
Hi @Dolly,
Seems like a "DepedencyFileUpdate.ps1" is not digitally signed correcly, can you try reinstalling or updating Matlab.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by