We've some method to run the MatLab code in esp8266 microcontroller. We can manipulate Arduino pins using Simulink in MatLab.

Can we do the same with an esp32 microcontroller as their code can be executed in Arduino IDE?

In Arduino, we are only able to execute Simulink or its own code at a time. Will I have the same problem here with NodeMCU ESP32-WROOM-32D?

Datasheet for the above mentioned microcontroller


Yes you can use esp32 microcontroller with matlab as long as you can use esp8266 with matlab code using same method.
Both esp8266 and esp32 are from the same family of microcontrollers and can be coded with esplorer(Lua) or Arduino IDE(c) etc. Yes, they can be coded in several ways. ESP32 is infact successor of ESP8266 with faster wifi and added bluetooth functionality.

So to conclude, You can use the same method to program ESP8266 in MATLAB to program ESP32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.