Unable to use image processing toolbox functions

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 个评论

I am not sure what information to provide please let me know how I can help.
I find someone with your name who is a masters student. Are you using an Education license, and not a Student license?
How would I check this? Super new to matlab.
Type
>> ver
on the command line. What do you see? (Edit out your license number before pasting here.)
When you use "ver" does "License number:" say "Student" ?

请先登录,再进行评论。

回答(1 个)

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 个评论

hasLicenseForToolbox = 1
That is the output that I get.
Then it will work. What evidence do you have that it's not working?
For example on the Machine Learning and Statistics toolbox if I try to use corr() it says function not found:
What shows up if you use
license('test', 'Statistics_Toolbox')
if it shows 0 then you do not have a license for the toolbox; if it shows 1 then you might need to do
restoredefaultpath; rehash toolboxcache
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.
ok I will give them a call and ask tomorrow. Thanks.

请先登录,再进行评论。

类别

帮助中心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