This is question is similar to a previous FORUM question regarding for MATLAB support packages where the fix was to reinstall the Arduino IDE.
I Did that , it didnt work to fix the compile error as the c:\programdata\matlab\supportpackages\........did…