- 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)
What to do for, Missing data directory "ros2lib.sldd " when running "ModelAndControlAutonomousHaulTruck.mlx " file from project "Offroad Navigation for Autonomous Haul Trucks
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
dpb
el 31 de Ag. de 2025
Requires MATLAB release R2024b or newer
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.
Respuesta aceptada
Goutam
el 2 de Sept. de 2025
Hi Lingampalli Venkata Subramanyam,
I tried reproducing the issue on my end using MATLAB R2025a and did not encounter any errors initially.
However, after uninstalling the optional toolboxes and running the same file again, I did receive errors similar to the one you mentioned. This suggests that the toolboxes labelled as "optional" in the information provided on the File Exchange link you shared are actually required for proper execution of the model.
To verify your setup, you can run the following command in the MATLAB command window:
ver
This will list all the toolboxes currently installed in your environment. Please ensure that all the mentioned toolboxes are present and try running the model again.
Hope this helps
Best regards,
Goutam
Más respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!