- Open your model in Simulink, and then from the Simulation tab, select "Variable size Messages" under "ROS Toolbox" as shown below.
- From the list box on the left, click on sensor_msgs/JointState. Then, unselect the Use default limits for this message type checkbox. Finally, enter the new value (256) in the row for the Position array property, and click OK to close the dialog.