matlab custom ROS message C++ compiler not supported

6 views (last 30 days)
I am trying to add custom ROS messages using rosgenmsg, but there are a couple problems doing this.
I am using matlab R2020b and ROS melodic.
I get an error saying that I need to use a visual studio 2019 C++ compiler. But when i select this compiler, it says it isn't supported, even though at the webpage for ROS toolbox system requirements it says that this should be compatible.
Could someone help me fix this?
Thank you in advance.

Answers (1)

Josh Chen
Josh Chen on 25 May 2023
Hi Joshua,
This is likely related to missing component when installing visual studio 2019. In this post and this post, there are step by step instruction on how to properly install visual studio C++ compiler for use in MATLAB.
Hope this helps,
Thanks,
Josh
  1 Comment
Joshua Eijbersen
Joshua Eijbersen on 25 May 2023
I am trying to create custom rosmessages, which isn't supported with visual studio 2019, but it is with visual studio 2017.

Sign in to comment.

Categories

Find more on Custom Message Support in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!