c2000_DCDC​_Buck_host​_model.slx not found for DC/DC Buck converter example F28379

조회 수: 8(최근 30일)
Hi all,
I would like to run the example of the DCDC Buck converter on my TI C2000 F28379 board:
I am able to open the f28379D_DCDC_Buck.slx but not the host matlab:c2000_DCDC_Buck_host_model.slx
open_system('c2000_DCDC_Buck_host_model.slx');
No system or file called 'c2000_DCDC_Buck_host_model.slx' found.
I downloaded the plugins:
Embedded Coder
Instrument Control Toolbox
Fixed-Point Designer
Embedded Coder Support Package for Texas Instruments C2000 Processors
In the folder C:\ProgramData\MATLAB\SupportPackages\R2020b\toolbox\target\supportpackages\tic2000\tic2000examples I can see the f28379D_DCDC_Buck.slx but not the host matlab:c2000_DCDC_Buck_host_model.slx
Could you please tell me where to find this model?
  댓글 수: 2
Hal Der
Hal Der 2022년 4월 3일
Hi Yam, thank you for your help, I have seen the page before, but it is not the same project and the host are different:
I know it is quite similar project but it was made using F28377 not F28379, if I want to use f28379D_DCDC_Buck I will have to change some stuff probably on the Host_Read_12M_COM9 to make it work...
It is quite annoying to not being able to find the example souce files anywhere...

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

답변(1개)

Antonin
Antonin 2022년 4월 7일
Hi Hal Der,
The link you are using for the documentation doesn't specify the MATLAB release you are using and always points to the latest version of the documentation. As I write, this is R2022a, but it will evolve with new releases.
In R2022a we made changes to this examples and I believe that this is why you face the problem you describe
I suggest that you use the specfic documentation for the release that you are using, you can do so by using the following link for R2021b:
For other MATLAB releases, just replace R2021b with the MATLAB release that you are using in the link. For instance for R2020b use this:
In previous versions of this example, the host model was called c2000_host_read_12M.slx I'm guessing that using this name will fix your problem.
I hope it helps,
Thanks,
Antonin
  댓글 수: 1
Hal Der
Hal Der 2022년 4월 8일
Alright thank you for your help Antonin. It makes sense now, Indeed, I was looking for the 2022 example which was more appeling mostly because it uses the CLA processor instead of the CPU.
I do have the 2022a version but when I am trying to install the Add-On : Embedded Coder Support Package for Texas Instruments C2000 Processors
I get the download error:
I tried to run it in admin... did not work.
It is weird that I have been able to download the addon on my 2020 version...

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

Community Treasure Hunt

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

Start Hunting!

Translated by