Image Processing Toolbox activated?

17 次查看(过去 30 天)
Lucy
Lucy 2024-8-15,19:43
评论: Lucy 2024-8-15,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."

采纳的回答

Walter Roberson
Walter Roberson 2024-8-15,19:46
You have the Image Processing Toolbox licensed but you do not have it installed
  2 个评论
Image Analyst
Image Analyst 2024-8-15,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 2024-8-15,22:19
great, works now! Thank you both :)

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by