Image Processing Toolbox activated?

When I type into command window, license('test', 'image_toolbox'), it returns 1.
My code reads and displays images by imread, imshow. But it when I use mat2gray in the next line, there's an error "'mat2gray' requires Image Processing Toolbox."

 Accepted Answer

You have the Image Processing Toolbox licensed but you do not have it installed

2 Comments

Either reinstall the complete MATLAB, or use the Add-ons/Get Add ons button on the Home tab of the tool ribbon to install just the Image Processing Toolbox.
great, works now! Thank you both :)

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2023a

Asked:

on 15 Aug 2024

Commented:

on 15 Aug 2024

Community Treasure Hunt

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

Start Hunting!