Image processing toolbox not working

Hello,
I installed matlab with the image processing toolbox, but it doesn't work.
When I try to use the toolbox's functions matlab can't find them:
>> dicomread
Undefined function or variable 'dicomread'.
The ver command doesn't show the imaging toolbox as being installed:
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.5 (R2018b)
Simulink Version 9.2 (R2018b)
RF Toolbox Version 3.5 (R2018b)
Signal Processing Toolbox Version 8.1 (R2018b)
Statistics and Machine Learning Toolbox Version 11.4 (R2018b)
Symbolic Math Toolbox Version 8.2 (R2018b)
However, the license command tells me the opposite.
>> license('test', 'image_toolbox')
ans =
1
>> license('checkout','image_toolbox')
ans =
1
Thanks for your help.

9 Comments

As far as MATLAB can tell you have the toolbox licensed but not installed.
The add-on explorer shows that it's installed:
Do you mind to restart your matlab or restart your computer and try that again?
The image shows you have Image Processing Toolbox installed in R2020b, but your ver shows you are using R2018b
@Qi Li I did restart my computer but the image toolbox still doesn't work.
@Walter Roberson I installed the imaging toolbox and Matlab at the same time. So there's an version mismatch between the imaging toolbox and matlab for the 2018b installation?
What's the fastest way to make it work? Install matlab 2020b?
I installed matlab 2020b along with the image processing toolbox and the image processing toolbox still doesn't work.
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1592791 (R2020b) Update 5
MATLAB License Number: 6XXXXXXX
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 18362)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
RF Toolbox Version 4.0 (R2020b)
Statistics and Machine Learning Toolbox Version 12.0 (R2020b)
Symbolic Math Toolbox Version 8.6 (R2020b)
>> license('test', 'image_toolbox')
ans =
1
Can you please help?
Odd, it does show up for me on Mac:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1592791 (R2020b) Update 5
MATLAB License Number: 1XXXXXXXX
Operating System: Mac OS X Version: 10.15.7 Build: 19H524
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Communications Toolbox Version 7.4 (R2020b)
Curve Fitting Toolbox Version 3.5.12 (R2020b)
DSP System Toolbox Version 9.11 (R2020b)
Global Optimization Toolbox Version 4.4 (R2020b)
Image Processing Toolbox Version 11.2 (R2020b)
Optimization Toolbox Version 9.0 (R2020b)
Signal Processing Toolbox Version 8.5 (R2020b)
Simscape Version 5.0 (R2020b)
Simscape Electrical Version 7.4 (R2020b)
Symbolic Math Toolbox Version 8.6 (R2020b)
I had to add the folder C:\Program Files\MATLAB\R2020b\toolbox\images by hand, now it works.
Unlike for the RF toolbox matlab didn't add it to the path for the signal processing toolbox automatically for some reason...
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.1592791 (R2020b) Update 5
MATLAB License Number: 6XXXXXXXX
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 18362)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Image Processing Toolbox Version 11.2 (R2020b)
RF Toolbox Version 4.0 (R2020b)
Statistics and Machine Learning Toolbox Version 12.0 (R2020b)
Symbolic Math Toolbox Version 8.6 (R2020b)

Sign in to comment.

Answers (0)

Categories

Asked:

Jan
on 26 Feb 2021

Edited:

on 1 Mar 2021

Community Treasure Hunt

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

Start Hunting!