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.

 채택된 답변

Cris LaPierre
Cris LaPierre 2023년 7월 6일

1 개 추천

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

Sean Anderson
Sean Anderson 2023년 7월 6일
이동: Cris LaPierre 2023년 7월 6일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2023년 7월 6일

댓글:

2024년 4월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by