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

6 次查看(过去 30 天)
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 个评论
dpb
dpb 2025-8-31
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.

请先登录,再进行评论。

采纳的回答

Goutam
Goutam 2025-9-2
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
  1 个评论
L
L 2025-9-6
Hi Goutam,
Thanks for trying to solve problem,
Well, I installed all optional toolboxes, yet i got that error. So i just downgraded the version of MATLAB, then i did the same, it worked! So its working now i guess. I installed ROS toolbox as well in here. Then it worked for me. I found the missing file which was shown during simulating time in that tool box, which was not included.
Regards,
L V Subramanyam

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by