How I can run my Simulink project in a ESP 32 board, as it is done with Arduino?
104 views (last 30 days)
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.
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
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.
You can take a look at https://www.aimagin.com/en/waijung-2-for-esp32.html.