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

5 views (last 30 days)
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?

Answers (1)

Kilsu Kim
Kilsu Kim on 23 Sep 2024
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!