- You only need to execute the commands once per MATLAB session.
- Close all open MATLAB figure windows and apps before running the commands.
- The internal commands to execute are valid for R2023a or earlier, and may change in a future release. Because these commands are internal, they are not documented.
The 'pcviewer' function and the Lidar Viewer app perform poorly on Mac platforms when using the rotate, pan, and zoom interactions
3 views (last 30 days)
Show older comments
MathWorks Support Team
on 25 Jan 2023
Edited: MathWorks Support Team
on 13 Sep 2023
In MATLAB R2023a, when I am using the 'pcviewer' function or the Lidar Viewer app, on a Mac-based platform, I am unable to smoothly rotate, pan, or zoom the point cloud in the viewer.
Accepted Answer
MathWorks Support Team
on 13 Sep 2023
Edited: MathWorks Support Team
on 13 Sep 2023
There are known performance issues with point cloud visualizations used on Mac-based platforms due to the rendering library that is used by default. These performance issues appear in the R2023a release of MATLAB and are experienced when using a Mac machine with an AMD graphics card configuration.
Workaround:
The workaround provided must be executed with no figure windows or apps open in MATLAB (such as pcviewer and the Lidar Viewer app). This enables the correct graphics library to be used on Mac-based platforms, after executing the commands.
To fix this issue, configure MATLAB to use a Mac-based graphics library by running these commands.
>> wm = matlab.internal.webwindowmanager.instance;
>> wm.setStartupOptions("ExtProcess", "--use-angle=metal");
NOTE
To revert back to the old graphics library, execute these commands:
> wm = matlab.internal.webwindowmanager.instance;
>> wm.setStartupOptions('ExtProcess', '');
To turn off the warning message received, execute these commands:
>> warning("off", "vision:pointcloud:Viewer3dMACIssue")
0 Comments
More Answers (0)
See Also
Categories
Find more on Labeling, Segmentation, and Detection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!