MATLAB Answers

0

Problem Opening Examples for Object Tracking

Asked by Saraf Atharva JAYANT on 4 Mar 2019 at 18:28
Latest activity Commented on by Saraf Atharva JAYANT on 17 Mar 2019 at 14:52
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 at 11:07
 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

Thank You! I figured it out.

Sign in to comment.


Answer by Alexis Villacis on 15 Mar 2019 at 23:00

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.