How can I do a physical element simulation in C2000 kit using simscape elements of the simulink library?
이전 댓글 표시
Hi,
I want to simulate the Photovoltaic plant in a F2812 DSP Board (C2000 kit) using simscape elements. Is it possible to execute the model in hardware in the loop (HIL) mode by means of simscape elements? If so can someone send some examples?
답변 (1개)
Sebastian Castro
2015년 7월 20일
0 개 추천
You should be able to if you have the right code generation tools, like Embedded Coder in your case to connect to the C2000. ( official link for C2000 support )
Most of the videos on the MathWorks Web page (for example, this one) show HIL testing of Simscape models using the Simulink Real-Time (formerly xPC Target) product, which provides real-time capabilities without you having to take care of writing the "main function" for the code yourself.
There are plenty more related videos on real-time and HIL in the "Deploying Simscape Models" section at this page.
- Sebastian
카테고리
도움말 센터 및 File Exchange에서 Model Preparation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!