Hi Julio, To obtain ROS 2 generated code in Simulink, you can follow these steps:
Update your Simulink model to use ROS 2 blocks and configurations.
Generate code from the updated model to obtain ROS 2 compatible code.
Make any necessary adjustments based on ROS 2 requirements.
Compile and run the code in your ROS 2 environment.
By following these steps and leveraging the capabilities of Simulink with ROS 2 support, you can efficiently transition your project to ROS 2 and obtain the required generated code.