- Open the Configuration Parameters
- Go to Hardware Implementation -> Target hardware resources -> Host-board connection and change the "Set host COM port" to "Manually specify".
- In the Host COM Port field, enter the COM port of your ESP32 board.
I'm using ESP32 WROOM DevKitC and simply trying to 'Monitor and tune' a simple servo control simulink block but getting the error 'Failed to run the model on hardware.'
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sumit Babu
am 28 Sep. 2024
Bearbeitet: Abhinav Aravindan
am 7 Okt. 2024
The following error was encountered during evaluation of the external mode callback 'getExtModeData': codertarget.arduinobase.internal.getExternalModeMexArgs('Serial') No ESP32-WROOM-DevKitV1(30 pin) board detected. Install or update the Arduino board driver and try again. If the problem persists, enter the host COM port number manually in the Host-board connection parameter and try again.

0 Kommentare
Akzeptierte Antwort
Abhinav Aravindan
am 7 Okt. 2024
Bearbeitet: Abhinav Aravindan
am 7 Okt. 2024
I understand that you are facing an issue with External Mode Simulation using the "ESP32 WROOM DevKit" board. It seems that "Automatic COM Port detection" is not supported for ESP32 boards, which is causing the error.
You can manually set the COM Port using the steps below:
Please find below the related documentation for your reference.
I hope this help resolve your issue!
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!