How to use 'detect' function in computer vision toolbox

2 views (last 30 days)
I have an error while using computer vision toolbox.
I tried to use 'detect' function in my code but the error message said 'detect' is not defined. The Korean error massage you can see below means that it is not defined or not installed.
But other computer vision toolbox functions are properly working now....
For example... I tried to use 'trainACFObjectDetector' function and the error massage said that I need to put more input argument. At least it doesn't say that it is not defined...
I have no idea how to solve this problem.. I have properly installed computer vision toolbox...
Please, help me guys :0

Accepted Answer

Ed Marquez
Ed Marquez on 18 May 2017
Edited: Ed Marquez on 18 May 2017
Hi ByungHyun,
MATLAB stores a list of toolboxes in a cache file.If you install a new toolbox, the cache file may not be updated. To resolve the issue, you can update the toolbox cache file by running the following command in MATLAB:
rehash toolboxcache
After running this command, restart MATLAB and run the "ver" command. It should list all of your installed toolboxes.
If you're still having issues, you can reset the MATLAB path by running the following command in MATLAB:
restoredefaultpath
savepath
Then, restart MATLAB and run "ver" again. It should list all of your toolboxes again.
If the issue persists, the toolbox may have not been successfully installed. In this case, re-installing the toolbox may be a good approach.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!