Problem Opening Examples for Object Tracking

Hello,
I am running a MATLAB R2018a ,
When I try running a matlab example:
openExample('vision/MotionBasedMultiObjectTrackingExample')
I encounter:
Error using exampleUtils.componentExamplesDir (line 10)
Invalid argument "vision".
Error in findExample (line 18)
componentExamplesDir = exampleUtils.componentExamplesDir(component);
Error in setupExample (line 5)
metadata = findExample(arg);
Error in openExample (line 10)
[workDir,metadata] = setupExample(varargin{:});

1 Comment

openExample('deeplearning_shared/DeepLearningFasterRCNNObjectDetectionExample')

Sign in to comment.

 Accepted Answer

Hi,
Please check if "Computer Vision Toolbox" is installed on your system. You are facing this error probably because you do not have Computer Vision Toolbox installed.

More Answers (1)

I am getting the same error. How did you fix it?

1 Comment

Hello,
Like Anant Upadhyay mentioned, the toolbox may not be installed or may be improperly so.
Try re-installing the appropriate Toolbox. In my case it was the Computer Vision Toolbox.
Cheers!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!