How can I do a physical element simulation in C2000 kit using simscape elements of the simulink library?
Mostrar comentarios más antiguos
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?
Respuestas (1)
Sebastian Castro
el 20 de Jul. de 2015
0 votos
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
Categorías
Más información sobre Model Preparation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!