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

41 vues (au cours des 30 derniers jours)
David Martínez Cabrera
David Martínez Cabrera le 26 Oct 2018
Commenté : Naveen le 17 Jan 2023
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 commentaire
Naveen
Naveen le 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.

Connectez-vous pour commenter.

Réponses (2)

dzid_
dzid_ le 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
Krisada Sangpetchsong le 7 Oct 2020
Modifié(e) : Krisada Sangpetchsong le 26 Fév 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 commentaires
Muhammad Qaisar Ali
Muhammad Qaisar Ali le 2 Fév 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
Krisada Sangpetchsong le 2 Fév 2022
Modifié(e) : Krisada Sangpetchsong le 26 Fév 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:
  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...

Connectez-vous pour commenter.

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by