How I can run my Simulink project in a ESP 32 board, as it is done with Arduino?
54 views (last 30 days)
Show older comments
I have to run a Simulink project in a ESP-32 and I don't know how to do it. There is any support package for it o something like that? Or perhaps there is any way to obtain a C++ or Python code of the project, to transfer it to the board with a external software (like Platformio).
Thanks in advance.
1 Comment
Naveen
on 17 Jan 2023
yes there is a support on matlab. go download the arduino hardware support package and you would be able to run the project without any worries.
Answers (2)
dzid_
on 16 Nov 2019
You would generate code for the model. You can use Simulink Function block to help you with packaging. Generated c code file will be a fucntion that you can include and call from Platformio main.c
0 Comments
Krisada Sangpetchsong
on 7 Oct 2020
Edited: Krisada Sangpetchsong
on 26 Feb 2022
We just released (October 2020) Waijung 2 blockset, which supports Simulink code generation for ESP32. Waijung 2 can be used to develop programs for ESP32 using Matlab / Simulink environment.
Waijung 2 was developed as a model-based design platform for IoT development. There are many useful features such as advanced algorithm development, hardware in the loop test, and more.
2 Comments
Muhammad Qaisar Ali
on 2 Feb 2022
I went to webpage, but instead of download they provided a form to be submitted. i submitted the form and yet no download link is generated.
Krisada Sangpetchsong
on 2 Feb 2022
Edited: Krisada Sangpetchsong
on 26 Feb 2022
Thank you Muhammad Qaisa for your interests in Waijung 2 for ESP32.
We have stopped providing the free evaluation Waijung 2 for ESP32 and will release Waijung 2 for ESP32 as a commercial product in February 2022.
The new Waijung 2 for ESP32 will have several amazing improvements such as:
- External Mode. making it possible to tune parameters and monitor signals in real-time via Simulink wirelessly (Wifi).
- Support for ESP-IDF 4.4 (hence ESP32-S3 and ESP32-C3)
- And more...
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!