RoboDK API for Matlab

The RoboDK API allows you to simulate and program robot arms directly from Matlab code
2.3K Downloads
Updated 20 Dec 2022

View License

Robot Simulation and Off-line Programming
With the RoboDK API for Matlab you can simulate and program any robot arm using Matlab code. Simulate your robots directly from Matlab programs, generate programs offline or move robots in real time using Matlab.
The RoboDK API for Matlab is implemented using the following classes:
  • The Robolink class (https://robodk.com/doc/en/PythonAPI/robolink.html#id1) is the link between RoboDK and Matlab. Any item from the RoboDK station can be retrieved.
  • The RobolinkItem class (https://robodk.com/doc/en/PythonAPI/robolink.html#robolink-item): RoboDK items are represented by the RobolinkItem class. An item can be a robot, a reference frame, a tool, an object, a program or a specific project.
RoboDK can be used for a wide range of applications, such as robot machining, material handling, polishing, welding, synchronizing multiple robots or pick and place.
The following page provides an overview of simulation and offline programming using RoboDK:
Note: The latest version of the Matlab API is available on GitHub:
Useful links:
Highlights
  • Simulate and program any robot arm (industrial robots or cobots)
  • Intuitive user interface to creating robot programs
  • Automated generation of robot programs
  • API for interfacing with MATLAB® and other languages
  • Import CAD files (such as STEP, IGES, STL) to use in with your project
About RoboDK
RoboDK is a powerful and cost-effective simulation and programming software for industrial robots and cobots. It supports more than 700 robots and more than 50 robot manufacturers, including robots like ABB, Fanuc, Yaskawa, Universal Robots, Motoman, Staubli, and more.
The intuitive user interface makes it easy to program a fully functional robot application with little or no programming experience. You can import custom 3D files (STEP, IGES, STL) to use in your station or import them directly from your 3D CAD software.
RoboDK can help you reduce programming times and project costs for robotic applications. RoboDK simulation helps users to iterate through different solutions before choosing hardware, helping users choose which robots best suit their intended application.
RoboDK has an API available for interfacing with MATLAB and other programming languages, enabling users to leverage their custom algorithms within the RoboDK environment.
Supported Robot Controllers
The following list includes the robot controllers supported by RoboDK for offline programming:
  • ABB RAPID IRC5: for ABB IRC5 robot controllers
  • ABB RAPID S4C: for ABB S4C robot controllers
  • Adept Vplus: for Adept V+ programming language
  • Allen Bradley Logix5000: for Allen Bradley Logix5000 PCL
  • Comau C5G: for Comau C5G robot controllers.
  • Comau Nodal: for Comau Nodal language.
  • Denso PAC: for Denso RC7 (and older) robot controllers (PAC programming language)
  • Denso RC8: for Denso RC8 (and newer) robot controllers (PacScript programming language)
  • Dobot: for educational Dobot robots
  • Fanuc R30iA: for Fanuc R30iA and R30iB robot controllers
  • Fanuc R30iA Arc: for Fanuc Arc welding
  • Fanuc RJ3: for Fanuc RJ3 robot controllers
  • G-Code BnR: for B&R robot controllers
  • GSK: for GSK robots
  • HIWIN HRSS: for HIWIN robots
  • KAIRO: for Keba Kairo robot controllers
  • KUKA IIWA: for KUKA IIWA sunrise programming in Java
  • KUKA KRC2: for KUKA KRC2 robot controllers
  • KUKA KRC2 CamRob: for KUKA CamRob milling option
  • KUKA KRC2 DAT: for KUKA KRC2 robot controllers including DAT data files
  • KUKA KRC4: for KUKA KRC4 robot controllers
  • KUKA KRC4 Config: for KUKA KRC4 robot controllers with configuration data in each line
  • KUKA KRC4 DAT: for KUKA KRC4 robot controllers including DAT data files
  • Kawasaki: for Kawasaki AS robot controllers
  • Mecademic: for Mecademic Meca500 robot
  • Mitsubishi: for Mitsubishi robot controllers
  • Motoman: for Yaskawa/Motoman robot controllers
  • Nachi AX FD: for Nachi AX and FD robot controllers
  • Daihen OTC: for Daihen OTC robot controllers
  • Precise: for Precise Scara robots
  • Siemens Sinumerik: for Siemens Sinumerik ROBX robot controller
  • Staubli VAL3: for Staubli VAL3 robot programs (CS8 controllers and later)
  • Staubli VAL3 InlineMove: to generate Staubli VAL3 programs with inline movement data
  • Staubli S6: for Staubli S6 robot controllers
  • Toshiba: for Toshiba robots
  • Universal Robots: for UR robots, generates linear movements as pose targets
  • Universal Robots RobotiQ: for UR robots including support for RobotiQ gripper
  • Universal Robots joints: for UR robots, generates linear movements as joint targets
  • Yamaha: for Yamaha robots

Cite As

Albert Nubiola (2024). RoboDK API for Matlab (https://www.mathworks.com/matlabcentral/fileexchange/65690-robodk-api-for-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
5.5.4

Improved description

5.5.3

Added more methods, updated RoboDK and improved speed

4.0.1

Fixed namings to match updated API documentation

3.5.5.1

Fixed package

3.5.5.0

Fixed setVisible(1) and setVisible(0) for robot items

3.3.0.0

fixed description typo
fixed title/description