examples in the vision toolbox fail to load .mat files

1 view (last 30 days)
Trying to run computer vision toolbox matlab 9.11.0.1769968 (R2021b). Get the following error
>> handData = load('hand3d.mat');
Warning: Variable 'fixed' originally saved as a pointCloud cannot be instantiated
as an object and will be read in as a uint32.
Warning: Variable 'moving' originally saved as a pointCloud cannot be instantiated
as an object and will be read in as a uint32.

Answers (1)

Steven Lord
Steven Lord on 31 May 2023
The pointCloud function is part of Computer Vision Toolbox and was introduced in release R2015a. Do you have this toolbox installed and licensed? You can check this by running the ver command and looking for a line starting with "Computer Vision Toolbox" in the displayed output.
If that line does not exist you will need to install Computer Vision Toolbox to use this function.
  4 Comments
Steven Lord
Steven Lord on 31 May 2023
It sounds like your path may have been corrupted at some point. Try to restore the default path using restoredefaultpath.
Brian Hodges
Brian Hodges on 1 Jun 2023
restoredefaultpath resolved the issue. Thanks for the help

Sign in to comment.

Categories

Find more on Computer Vision Toolbox in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!