How can I utilize Simulink MPC Toolbox for (MCU) STM32F407 Discovery Board?

4 次查看(过去 30 天)
Hello,
I have designed and tested an MPC controller using the MPC Controller Toolbox in Simulink. I successfully tested the MPC in real-time using the Simulink Desktop Real-Time Environment with an NI PCIe 6341.
To facilitate commercialization, I'm considering integrating the MPC controller into a microcontroller for real-time implementation. However, I'm unfamiliar with MCU programming. I'm exploring the possibility of utilizing the MPC controller code generated by Embedded Coder within an STM32F407 Discovery Board.
Could someone with experience in this area guide me on how to proceed? Additionally, would using an MCU instead of SDRT impact the controller's performance?

回答(1 个)

Kilsu Kim
Kilsu Kim 2024-9-23
Hello,
I think you can start with the following support package and demo.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by