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

조회 수: 75 (최근 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 2020년 10월 7일
편집: 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
Muhammad Qaisar Ali 2022년 2월 2일
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월 2일
편집: 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