Unrecognized function or variable splitAnomalyData Matlab 2023a

Hi, when running this demo
DetectPillImageAnomaliesUsingExplainableFCDDExample
using e.g. this code to open the live script
openExample('images_deeplearning/DetectPillImageAnomaliesUsingExplainableFCDDExample')
I get the error
Unrecognized function or variable splitAnomalyData
I've tried the demo on both my local installation of Matlab 2023a and Matlab online. I get the same error. I have tried searching for the file splitAnomalyData using the operating system but it cannot find a file with that name. Oddly, if I type 'help splitAnomalyData' I get a response at the command line implying something is found.
Is the file missing or am I doing something wrong? Any guidance would be appreciated, thanks.

 Accepted Answer

Do you have all the toolboxes required to run this example? You can see what is required in the top right of the example page:
The splitAnomally function is part of the Computer Vision Toolbox™ Automated Visual Inspection Library. You can install the Computer Vision Toolbox Automated Visual Inspection Library from Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.

3 Comments

Installing the 3rd party package
Computer Vision Toolbox Automated Visual Inspection Library
solved the problem thanks
I have encountered the same problem as you. Would you please share with me your third-party Computer Vision Toolbox Automated Visual Inspection Library? I would appreciate it
It's easiest to install this useing the Add-Ons explorer in MATLBA (see the link in my Answer). However, you can manually download and install it, too.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!