Clear Filters
Clear Filters

Image Processing Toolbox activated?

17 views (last 30 days)
Lucy
Lucy on 15 Aug 2024 at 19:43
Commented: Lucy on 15 Aug 2024 at 22:19
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 at 19:46
You have the Image Processing Toolbox licensed but you do not have it installed
  2 Comments
Image Analyst
Image Analyst on 15 Aug 2024 at 21:41
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 at 22:19
great, works now! Thank you both :)

Sign in to comment.

More Answers (0)

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!