does simulink work with FreeRTOS?

35 views (last 30 days)
David Haverkamp
David Haverkamp on 16 May 2019
Answered: Suraj on 14 May 2024
I am experimenting at home with IoT devices. Amazon uses FreeRTOS as their IoT OS for devices.
Can I target FreeRTOS from Simulink to create my device control software (and be able to model it in Simulink).
Thanks.
  1 Comment
Antony Smith
Antony Smith on 24 Oct 2022
I see you never recieved a response to this question.
Did you ever manage to figure something out along the Simulink + RTOS functionality.
I'm quite interested in the STM32 applications, if it is supported.
Thank you!

Sign in to comment.

Answers (1)

Suraj
Suraj on 14 May 2024
I assume you want to run PIL simulations on a board with FreeRTOS as the operating system.
Simulink should work with FreeRTOS in my opinion. As long as an implementation is provided for the rtIOstream* functions, you should be able to run on the target.
All that is required is to get the application on the target, start it, and communicate. SSH could be one of the options.
I also found a few examples in the documentation and it looks like some boards like TIRM46Lx2 Launchpad and STM32 family are supported. Please refer to the link below,

Community Treasure Hunt

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

Start Hunting!