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

Loading a station from RoboDK into MatLab

#1
Hello,

I am wondering how I would load a cell from RoboDK into MatLab and which commands I would use in MatLab to do so?

Thanks,
Norman
#2
Yes, you can load a RoboDK project file or any other file supported by RoboDK by using the AddFile command:
Code:
station = RDK.AddFile('full path to file.rdk');
#3
Hello Albert,

I am getting an error that says "Unable to resolve the name 'RDK.AddFile'." Does that mean I don't have the right add-in/plug-in or toolbox for RoboDK?

Thanks,
Norman
#4
I recommend you to take an existing example that uses the Matlab API to better understand how to create the RDK object.

You should basically create the RDK object by using the following code:
Code:
RDK = Robolink;
station = RDK.AddFile('full path to file.rdk');

You can find more information here:
https://robodk.com/Matlab-API

And also in the Example files provided with the Matlab API:
https://github.com/RoboDK/RoboDK-API/tree/master/Matlab
  




Users browsing this thread:
1 Guest(s)