Image Processing Toolbox activated?

15 次查看(过去 30 天)
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
You have the Image Processing Toolbox licensed but you do not have it installed
  2 个评论
Image Analyst
Image Analyst 2024-8-15
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
great, works now! Thank you both :)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by