(bug)pcviewer built-in function require Lidar Toolbox ?

I am using the latest version of MATLAB R2026a. When I tried running the example under pcviewer – Visualize and inspect large 3-D point cloud – MATLAB, I encountered the following error:
Error using toolboxdir (line 41) Could not locate the base directory for lidar. Error in vision.internal.pcviewer.pcviewer Error in vision.internal.pcviewer.pcviewer Error in pcviewer (line 6) viewerObj = vision.internal.pcviewer.pcviewer(varargin{:});
After investigation, I found that the issue was caused by the pcviewer function. Then I used dependencyAnalyzer to analyze the file PlotSphericalPointCloudTextureMappingExample.m and discovered that it only had dependencies on MATLAB and the Computer Vision Toolbox.

These toolboxes are already installed in my local environment. I suspected that it might also depend on the Lidar Toolbox. After I additionally installed the Lidar Toolbox, the error no longer occurred.I am using the latest version of MATLAB R2026a. When I tried running the example under pcviewer – Visualize and inspect large 3-D point cloud – MATLAB, I encountered the following error:
Error using toolboxdir (line 41) Could not locate the base directory for lidar. Error in vision.internal.pcviewer.pcviewer Error in vision.internal.pcviewer.pcviewer Error in pcviewer (line 6) viewerObj = vision.internal.pcviewer.pcviewer(varargin{:});
After investigation, I found that the issue was caused by the pcviewer function. Then I used dependencyAnalyzer to analyze the file PlotSphericalPointCloudTextureMappingExample.m and discovered that it only had dependencies on MATLAB and the Computer Vision Toolbox.

These toolboxes are already installed in my local environment. I suspected that it might also depend on the Lidar Toolbox. After I additionally installed the Lidar Toolbox, the error no longer occurred. I am using the latest version of MATLAB R2026a. When I tried running the example under pcviewer – Visualize and inspect large 3-D point cloud – MATLAB, I encountered the following error:
Error using toolboxdir (line 41) Could not locate the base directory for lidar. Error in vision.internal.pcviewer.pcviewer Error in vision.internal.pcviewer.pcviewer Error in pcviewer (line 6) viewerObj = vision.internal.pcviewer.pcviewer(varargin{:});
After investigation, I found that the issue was caused by the pcviewer function. Then I used dependencyAnalyzer to analyze the file PlotSphericalPointCloudTextureMappingExample.m and discovered that it only had dependencies on MATLAB and the Computer Vision Toolbox.

These toolboxes are already installed in my local environment. I suspected that it might also depend on the Lidar Toolbox. After I additionally installed the Lidar Toolbox, the error no longer occurred. pcviewer, render, computer vision MATLAB Answers — New Questions

​

Leave a Reply

Your email address will not be published. Required fields are marked *