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 Kommentare

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 am 16 Aug. 2022
Bearbeitet: Xiaohu Li am 16 Aug. 2022
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Produkte

Version

R2022a

Gefragt:

am 13 Aug. 2022

Kommentiert:

am 17 Jan. 2024

Community Treasure Hunt

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

Start Hunting!