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

23 views (last 30 days)
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.
  3 Comments
Sara James
Sara James on 21 Feb 2019
Edited: Sara James on 12 Apr 2019
To fix Application Error 0xc0000142
Make sure to create a restore point just in case something goes wrong. Also, after trying each Method on your system with different router settings, please check if you’re able to Fix Application Error 0xc0000142 or not.
Method 1: Uninstall Unkown Programs
Uninstall “Search Protect” or “SW Booster” or “Performance Optimizer.
1.Open Windows Control Panel.
2.Select the installed program list
3.Choose and Uninstall “Search Protect.” Again check if you’re able to Fix Application Error 0xc0000142 or not.
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)

Bhushan Deo
Bhushan Deo on 25 Aug 2016
Yes manual trial was also done but the same error persists.

Unnikrishnan L
Unnikrishnan L on 13 Jul 2018
hiii...
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.

Vellin Boute
Vellin Boute on 20 Apr 2019
Download All in One Runtimes (AIO).simply install & run.

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!