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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2024년 8월 15일

댓글:

2024년 8월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by