how to access to simulation tools in simulink programmatically

I would like to setup ROS logger programmatically in order to generate rosbag file (.bag) for all topics in the model.
this step of setup I would do it during model initialisation before running the model.
currantly I don't see any way excepte doing it manualy.
i'm referring to this page.
https://fr.mathworks.com/help/driving/ug/use-ros-logger-app-to-save-ros-messages-from-simulink.html
any tips to have this step done automatically ?
thanks for your feedback.

Answers (0)

Asked:

on 27 Mar 2023

Edited:

on 28 Mar 2023

Community Treasure Hunt

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

Start Hunting!