MATLAB Answers

0

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{:});

  0 Comments

Sign in to comment.

2 Answers

Answer by Anant Upadhyay on 8 Mar 2019
 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.

  1 Comment

Sign in to comment.


Answer by Alexis Villacis on 15 Mar 2019

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.