Unable to use image processing toolbox functions
Show older comments
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 Comments
Tonnar Castellano
on 11 Sep 2021
Walter Roberson
on 11 Sep 2021
I find someone with your name who is a masters student. Are you using an Education license, and not a Student license?
Tonnar Castellano
on 12 Sep 2021
Image Analyst
on 12 Sep 2021
Type
>> ver
on the command line. What do you see? (Edit out your license number before pasting here.)
Walter Roberson
on 12 Sep 2021
When you use "ver" does "License number:" say "Student" ?
Answers (1)
Image Analyst
on 11 Sep 2021
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 Comments
Tonnar Castellano
on 12 Sep 2021
Edited: Tonnar Castellano
on 12 Sep 2021
Image Analyst
on 12 Sep 2021
Then it will work. What evidence do you have that it's not working?
Tonnar Castellano
on 12 Sep 2021
Edited: Image Analyst
on 13 Sep 2021
Walter Roberson
on 12 Sep 2021
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
Image Analyst
on 13 Sep 2021
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.
Tonnar Castellano
on 13 Sep 2021
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!