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

2 次查看(过去 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 个评论
Yam Siwakoti
Yam Siwakoti 2022-3-31
You can download complete files here:
https://au.mathworks.com/matlabcentral/fileexchange/61420-dc-dc-buck-converter-example
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...

请先登录,再进行评论。

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by