MATLAB: Licensing error: -18,147 for image processing tool box

147Image Processing Toolboxlicensing error: -18

HI,
I have a Matlab and improcessing toolbox license. However, when I used some functions in image processing toolbox in Matlab, I receives error like "Undefined function 'imresize' for input arguments of type 'uint8'. which means I can't use them.
I tried to analyze the error information follow the steps in http://cn.mathworks.com/matlabcentral/answers/116687-matlab
When I ckeck out the license information, it showed as below:
License checkout failed.
License Manager Error -18
Make sure the license file on the MATLAB client matches the license file of the license server and that the license server has been started properly.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2015b/18
Diagnostic Information:
Feature: Image_Processing_Toolbox
License path: C:\Users\302017966\AppData\Roaming\MathWorks\MATLAB\R2015b_licenses;C:\Program Files\MATLAB\R2015b\licenses\license.dat;C:\Program Files\MATLAB\R2015b\licenses\network.lic
Licensing error: -18,147.
Could you suggest some actions for me
Thanks

Best Answer

MATLAB looked for a license for the Image Processing Toolbox first in your individual license directory, C:\Users\302017966\AppData\Roaming\MathWorks\MATLAB\R2015b_licenses and then in the local computer license file C:\Program Files\MATLAB\R2015b\licenses\license.dat . It did not find a license in either of those places so it looked at the network license C:\Program Files\MATLAB\R2015b\licenses\network.lic . It pulled out a hostname and port there for the network license server and attempted to contact that license server. The license server either did not answer or else the license server is confused about what its license files say.
You should look at C:\Program Files\MATLAB\R2015b\licenses\network.lic and see which host is listed there as being the license server, and check with your IT people that it is correct. If it is, then possibly your IT people need to restart the network license server. See http://www.mathworks.com/matlabcentral/answers/106124-why-do-i-receive-license-manager-error-18
Note: this is not the error you would receive if the license server is running fine but you do not happen to be authorized to use the license: this is an error if you cannot reach the license server or it is confused.