[D1, D2] = ipticondir returns the names of the directories containing the Image Processing Toolbox™ icons (D1) and the MATLAB® icons (D2).
[D1, D2] = ipticondir
[iptdir, MATLABdir] = ipticondir dir(iptdir)