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
jia
jia 2024 年 4 月 28 日
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
Cris LaPierre
Cris LaPierre 2024 年 4 月 29 日
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 についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by