Unable to use image processing toolbox functions

4 次查看(过去 30 天)
Hello,
I am unable to use my image processing toolbox functions. I have the add-on installed, and it works on my laptop so I know I have the correct liscence avaliable.
  5 个评论
Image Analyst
Image Analyst 2021-9-12
Type
>> ver
on the command line. What do you see? (Edit out your license number before pasting here.)
Walter Roberson
Walter Roberson 2021-9-12
When you use "ver" does "License number:" say "Student" ?

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2021-9-11
If youi run this code, what do you see in the command window?
% 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 Image Processing 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
  6 个评论
Image Analyst
Image Analyst 2021-9-13
That screenshot you posted does not show corr() is not working. Please show a screenshot of the error.
Do you have an individual license, or a shared (pooled) license? You may have the toolbox installed but if you have a shared license and all the licenses for that particular toolbox are checked out then it will tell you that you don't have a license.
Your best bet is to call them tomorrow and ask for free installation help.

请先登录,再进行评论。

类别

Help CenterFile 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