Unable to connect to Matlab

Please feedback the issue encountered while using Cytron official website (http://www.cytron.com.my), Cytron Technical Forum and Cytron Tutorial site (http://tutorial.cytron.com.my) here. We greatly appreciate any comments and suggestions too.

Unable to connect to Matlab

Postby Kanen » Mon Aug 22, 2016 1:40 pm


I am using Matlab 2015b and Arduino UNO. I have downloaded the support package. Whenever i run the command:

a = arduino('com3', 'uno')

I get the following error message,

Updating server code on board Uno (COM3). Please wait.
Error using ar2 (line 2)
Undefined variable "ide" or class "ide.internal.getArduinoIDERootDir".

Any idea how do I rectify this?

Thank you.
Posts: 1
Joined: Mon Aug 22, 2016 1:25 pm

Re: Unable to connect to Matlab

Postby bengchet » Mon Aug 22, 2016 4:17 pm


You can check if the program can be uploaded using Arduino IDE instead of Matlab to see if Arduino board is working properly.
You can also check if the COM port is correct.

If the problem still exists, you can also try reinstall Arduino package for Matlab.
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am

Return to Cytron Website, Forum & Tutorial Site Feedback

Who is online

Users browsing this forum: No registered users and 1 guest