ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS vs MATLAB...which is best..?

asked 2013-03-01 00:32:39 -0600

Cybertron gravatar image

updated 2014-04-20 14:09:39 -0600

ngrennan gravatar image

Often i end up with this question. Both of them are powerful softwares; and has more or less similar functionalists. Other than Opensource is there any preferable advantages of ROS over MATLAB.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2013-03-01 02:41:48 -0600

KruseT gravatar image

There is some overlap of functionality between certain ROS tools and libraries and the MATLAB Robotics Toolbox, for controlling robotic arms in particular. So some research labs around the world use MATLAB to write controllers for robotic arms, while other prefer non-MATLAB code written for ROS.

The focus of ROS is a bit more towards solving mobile robot problems, rather then only robotic arms in industrial settings. And a benefit of ROS is that new libraries that have been created can more easily be shared with other researchers in the world, and more easily be integrated with other software on a robot.

edit flag offensive delete link more

answered 2013-03-01 01:38:27 -0600

dornhege gravatar image

I think you misunderstood something completely. ROS and Matlab do NOT have similar functionalities at all. Thus a comparison as to "what is best" doesn't make sense.

edit flag offensive delete link more


Can you please

Cybertron gravatar image Cybertron  ( 2013-03-01 05:47:26 -0600 )edit

I was referring to Matlab as in pure Matlab. Here, ROS serves a very different purpose, i.e. enabling robots. If you meant the context of ROS in comparison to the robotics toolbox, refer to @KruseT's answer.

dornhege gravatar image dornhege  ( 2013-03-01 06:18:12 -0600 )edit

Simulink actually has quite an overlap with ROS. For instance, both can simulate a Lidar. Although I have used both, I'd be curious to know, from a more experienced user, how they differ.

wenchao gravatar image wenchao  ( 2023-02-20 08:26:43 -0600 )edit

answered 2013-03-02 22:32:27 -0600

dgerod gravatar image

updated 2013-03-02 22:35:21 -0600

I don't think that difference between MATLAB and ROS is due to mobile robots or any other functionality, we should look for development/application point of view to get the difference.

I see MATLAB (Octave or Scilab) as a great tool for the prototyping phase where you are focus on develop control algorithms, in this step a powerful tool that MATLAB is very useful because allow you to focus on the problem itself.

After this phase there is the system development phase (design and implementation). In this phase you design and implement the code you have prototype in MATLAB and other functionalities that are necessary to make your system work. This can be done in any platform (OS, program language, libraries) you want, your own platform too. However, doing this by yourself would require a lot of time.

ROS provides this functionality out-of-the-box, and a lot of extra components ready to use. In addition, there is a lot of people around the world using and developing it .

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-03-01 00:32:39 -0600

Seen: 4,404 times

Last updated: Mar 02 '13