Unable to open matlab example (Unsupervised Anomaly Detection)
古いコメントを表示
When I copy the command and run on Matlab it shows error which the code didn't come out.

1 件のコメント
Steven Lord
2022 年 2 月 8 日
Can you post a link to the example you're trying to open in MATLAB? I don't see one by that name when I look at the list of examples in Statistics and Machine Learning Toolbox on the MathWorks website.
回答 (1 件)
Image Analyst
2022 年 2 月 8 日
What does this say?
% Check that user has the specified Toolbox installed and licensed.
%hasLicenseForToolbox = license('test', 'image_toolbox'); % Check for Image Processing Toolbox.
% hasLicenseForToolbox = license('test', 'Image_Acquisition_Toolbox'); % Check for Image Acquisition Toolbox.
hasLicenseForToolbox = license('test', 'Statistics_Toolbox'); % Check for Statistics and Machine Learning Toolbox.
% hasLicenseForToolbox = license('test', 'Signal_Toolbox'); % Check for Signal Processing Toolbox.
% hasLicenseForToolbox = license('test', 'Video_and_Image_Blockset'); % Check for Computer Vision System Toolbox.
% hasLicenseForToolbox = license('test', 'Neural_Network_Toolbox'); % Check for Deep Learning Toolbox.
if ~hasLicenseForToolbox
% User does not have the toolbox installed, or if it is, there is no available license for it.
% For example, there is a pool of 10 licenses and all 10 have been checked out by other people already.
ver % List what toolboxes the user has licenses available for.
message = sprintf('Sorry, but you do not seem to have the Statistics and Machine Learning Toolbox.\nDo you want to try to continue anyway?');
reply = questdlg(message, 'Toolbox missing', 'Yes', 'No', 'Yes');
if strcmpi(reply, 'No')
% User said No, so exit.
return;
end
end
4 件のコメント
Ng Yong Jie
2022 年 2 月 8 日
Image Analyst
2022 年 2 月 8 日
編集済み: Image Analyst
2022 年 2 月 8 日
If you then type
hasLicenseForToolbox
ver
What do you see? Do you see True, and the stats toolbox listed?
What do you see in the examples.xml file? Do you see the desired example listed?
Ng Yong Jie
2022 年 2 月 8 日
Ng Yong Jie
2022 年 2 月 8 日
カテゴリ
ヘルプ センター および File Exchange で Licensing on Cloud Platforms についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
