Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

MATLAB API

#1
I want to get started by using MatLab with robodk, so I start by reading the guide on the website and try to run the 'Example_RoboDK.m' from C:\RoboDK\MatLab folder.
This error is shown. Then I'm stuck because nothing work.


Unrecognized function or variable 'tcpip'.

Error in Robolink/Connect (line 344)
                    this.COM = tcpip('localhost', port, 'Timeout', this.TIMEOUT, 'BytesAvailableFcnMode', 'byte', 'InputBufferSize', 4000);

Error in Robolink (line 305)
            Connect(this);

Error in Example_RoboDK (line 24)
RDK = Robolink;

How can i fix it? 

Thanks in advice
#2
Where did you take the Matlab API from? Are you using a recent version of RoboDK?

When you install RoboDK for Windows you can find the latest version of the Matlab API here:
C:/RoboDK/Matlab/
  




Users browsing this thread:
1 Guest(s)