What to do for, Missing data directory "ros2lib.sldd " when running "ModelAndC​ontrolAuto​nomousHaul​Truck.mlx " file from project "Offroad Navigation for Autonomous Haul Trucks
Show older comments
I dont kow much about this, was trying to run this on my system.
When i ran "ModelAndControlAutonomousHaulTruck.mlx" file, I got an error in simulink saying "Unable to find data dictionary 'ros2lib.sldd'. " .
😅 When I ran this my Matlab2025a crashed . Idk whats happening tho
Well I changed back to lower version 2024b. Im getting this error in 2024b, i got this error in 2025a in start when MATLAB worked well in my system.
So do any one know about solving this issue, i downloaded the zip file from "Offroad Navigation for Autonomous Haul Trucks - File Exchange - MATLAB Central" Ah do i have to do anything.
Please help me what to do for the required data directory

1 Comment
dpb
on 31 Aug 2025
Requires MATLAB release R2024b or newer
- MATLAB®
- Simulink®
- Navigation Toolboxâ„¢
- Computer Vision Toolboxâ„¢
- Image Processing Toolboxâ„¢
- Automated Driving Toolboxâ„¢
- Stateflow®
- Robotics System Toolboxâ„¢ (Optional)
- Simulink 3D Animationâ„¢ (Optional)
- Model Predictive Control Toolboxâ„¢ (Optional)
The 'ros2lib.sldd' file would have been created by the Robotics System Toolbox it seems even though stated to be optional.
Not sure about what is included in academic license; perhaps one of the toolboxes isn't available or simply the project zip file didn't include what was intended to be an optional piece.
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!