MATLAB Answers

0

"Manage Array Size for ROS Messages" gone missing, after updating to Matlab R2019b.

Asked by Chi Kin Lai on 5 Oct 2019
Latest activity Commented on by Chi Kin Lai on 8 Oct 2019
Hi
The settting for "Manage Array Size for ROS Messages" has gone missing, after updating to Matlab R2019b.
Could anyone from Mathswork let us know how to find this setting now?
Thanks.
Ken

  0 Comments

Sign in to comment.

Products


Release

R2019b

1 Answer

Answer by Cam Salzberger on 7 Oct 2019
Edited by Cam Salzberger on 7 Oct 2019
 Accepted Answer

Hello Ken,
The Simulink Toolstrip in R2019b has changed the location of a few things, but the variable size array configuration is still available. The first thing to do is to set up your model to be used with ROS by selecting the Robot Operating System (ROS) app. This should configure all your hardware settings for you (though you can choose between ROS and ROS 2 depending on which you are using), so you can just hit OK. Then the Variable Size Message configuration option becomes available on the main Simulation tab in the ROS Toolbox subsection. There is also a new Robot tab that is useful in other workflows.
See the image below for a quick guide. Hope this helps!
-Cam

  1 Comment

Brilliant, it is exaclty as you described. Many thanks!

Sign in to comment.