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.

 Réponse acceptée

Cris LaPierre
Cris LaPierre le 6 Juil 2023
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 commentaires

Sean Anderson
Sean Anderson le 6 Juil 2023
Déplacé(e) : Cris LaPierre le 6 Juil 2023
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by