How I can run my Simulink project in a ESP 32 board, as it is done with Arduino?

54 次查看(过去 30 天)
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 个评论
Naveen
Naveen 2023-1-17
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.

请先登录,再进行评论。

回答(2 个)

dzid_
dzid_ 2019-11-16
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
编辑:Krisada Sangpetchsong 2022-2-26
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 个评论
Muhammad Qaisar Ali
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
编辑:Krisada Sangpetchsong 2022-2-26
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:
  1. External Mode. making it possible to tune parameters and monitor signals in real-time via Simulink wirelessly (Wifi).
  2. Support for ESP-IDF 4.4 (hence ESP32-S3 and ESP32-C3)
  3. And more...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by