MATLAB Answers

avr-gcc.exe -Application Error The application was unable to start correctly (0xc0000142). Click OK to close the application.

50 views (last 30 days)
Danish Anwar
Danish Anwar on 15 Dec 2015
Answered: Vellin Boute on 20 Apr 2019
I have problem in connecting matlab 2014a(64-bit) and arduino uno when I enter >>a=arduino() after some time it gives an error:
"Updating server code on Arduino Uno (COM3). Please wait." then
avr-gcc application failed dialog box appear with error code 0xc0000142 when I click ok then in command window appear: "Cannot program Arduino board Uno (COM3). Please make sure the board is supported and the port and board type are correct."
my arduino port is com26.
Vellin Boute
Vellin Boute on 28 Mar 2019
  • follow these steps:
  • Step 1 – Clean Out The Registry. One of the big causes of the 0xc0000142 error is...
  • Step 2 – Perform A Malware Scan. Viruses and spyware often infect Windows,...
  • Step 3 – Reinstall Affected (Non Critical) Applications.
  • Step 4 – Repair Windows. If you’re still seeing the error even after the previous steps,...

Sign in to comment.

Answers (4)

Unnikrishnan L
Unnikrishnan L on 13 Jul 2018
any one found a solution for this error:
the application was unable to start correctly 0xc0000142 error in matlab

Iona Nguyen
Iona Nguyen on 30 Mar 2019
Have you checked it on YouTube I have found some tutorials to correct this on YouTube check them it might be helpful to you.



Community Treasure Hunt

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

Start Hunting!