"Failed to Program Arduino board". I cannot connect my Arduino to Matlab

I bought the Arduino engineering kit and I'm following the official tutorials Arduino offers. When I try to connect my Arduino to Matlab using ">> arduinosetup", When I press "program" the following message appears (Attachment 1).

I have also tried writing ArduinoKitHardwareSupportReadMe.txt, but it tells me it is a undefined variable. So I don't really know what to do. I hope someone could help me

Captura de Pantalla 2020-04-25 a la(s) 2.04.44 p. m..png

Captura de Pantalla 2020-04-25 a la(s) 2.17.34 p. m..png

You need to put up your code ... the error message suggests you have that file missing or you have mistakenly included it in your code - but it looks like that is on the matlab side on your PC ?

Don’t know anything about matlab ,and you might be better asking Matlab, but have you gotten the Arduino to run OK in the Arduino ide application ?

I suggest that you ask you question in the Arduino Engineering Kit section of the forum.

Use the report to moderator link under your post.