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."

 Réponse acceptée

Walter Roberson
Walter Roberson le 15 Août 2024

0 votes

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

2 commentaires

Image Analyst
Image Analyst le 15 Août 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 le 15 Août 2024
great, works now! Thank you both :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by