Image Processing Toolbox activated?

20 views (last 30 days)
Lucy
Lucy on 15 Aug 2024
Commented: Lucy on 15 Aug 2024
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

Walter Roberson
Walter Roberson on 15 Aug 2024
You have the Image Processing Toolbox licensed but you do not have it installed
  2 Comments
Image Analyst
Image Analyst on 15 Aug 2024
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.
Lucy
Lucy on 15 Aug 2024
great, works now! Thank you both :)

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!