Hardware settings, replacing the C2000 hardware board gets an error

I got an error when I changed the hardware board to 2837xD in the hardware settings
The error is as follows:
创建 "配置参数" 对话框时出现意外错误。原因可能是您的 MATLAB 路径中的函数遮蔽了内置 MATLAB 函数
函数或变量 'matlabshared.target.tic2000.getInstallSpPkgMsg' 无法识别。
file: F:\matlab2022a\toolbox\target\codertarget\+codertarget\+utils\getTargetHardwareDetailWidgets.p
name: getTargetHardwareDetailWidgets
line: 0

댓글 수: 4

Hi,
To work around the issue and use the features from the Embedded Coder Support Package, set the below model parameters at the command line:
First, set your hardware board:
>> set_param(gcs,'HardwareBoard', 'TI Delfino F2837xD')
Then, enable the Embedded Coder Support Package feature set for your model:
>> set_param(gcs,'HardwareBoardFeatureSet', 'EmbeddedCoderHSP')
If this does not work, may I please know the MATLAB version you are using?
Thanks,
Keerthana
Xiaohu Li
Xiaohu Li 2022년 8월 16일
편집: Xiaohu Li 2022년 8월 16일
Thanks for your answer! I have solved this problem. By adding the hardware support package "SoC Blockset Support Package for Texas Instruments C2000 Processors"! Previously I only installed "Embedded Coder Support Package for Texas Instruments C2000 Processors"
I encounted this problem too when I chose hardware as 2837xd. But unluckily, these solutions didn't work. My Matlab version is 2022b.
Further, it seems that problems occur only when 2837xd is chosen. I did this trial, and the other is Okay.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 部署에 대해 자세히 알아보기

제품

릴리스

R2022a

질문:

2022년 8월 13일

댓글:

2024년 1월 17일

Community Treasure Hunt

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

Start Hunting!