# MATLAB: I can’t get dicomdict to work

dicomdictImage Processing Toolbox

I am trying to use dicomdict to load the DICOM data dictionary. However, none of the syntaxes listed inthe documentation seem to work. For example, the following is legitimate syntax in the documentation:
dictionary = 'C:\Program Files\MATLAB\R2014b\toolbox\images\iptformats\dicom-dict.mat';dictionary = dicomdict('set', dictionary);
However, it generates the following error: "Undefined function 'dicomdict' for input arguments of type 'char'"
My first question is: why am I getting this error. My second question is: how do you use dicomdict to load the default Matlab DICOM dictionary into an object?

 ver
 which dicomdict -all
 'dicomdict' not found.