Simulink Coder Deployment to ST Nucleo

4 ビュー (過去 30 日間)
Benjamin Bokser
Benjamin Bokser 2019 年 3 月 30 日
回答済み: Madhu Govindarajan 2019 年 4 月 2 日
I would like to run a Simulink model on an ST Nucleo-411RE in real-time. However, it is not entirely clear whether the ST Nucleo support from Simulink Coder deploys real-time code to the board or not. I absolutely need real-time. Can anyone clarify this?
Additionally, it doesn't look as though I am able to use any pins but the 15 Arduino digital pins on the Nucleo as GPIO, whereas I need at least 21 GPIOs. I was under the impression that STM32 boards are highly configurable, and most compatible programs are able to reconfigure certain pins that may be PWM, I2C, etc to be used as GPIO. Does Simulink not have this capability?
If Simulink is capable of neither, how can I get around this?

回答 (1 件)

Madhu Govindarajan
Madhu Govindarajan 2019 年 4 月 2 日
I don't know about the second part of your question on how to reconfigure pins.
To answer your first question, I don't think any MCU can guarantee absolute real-time as they do not have a real-time Operating system controlling them. You can achieve soft real time ( using these boards. I am guessing the ST Nucleo support already supports that by default. You can check to see if there are overruns and without any overruns, I would say the model is running close to soft real time.
There are other boards that can do hard real time and can be programmed using Simulink.


Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by