License error or the function?

when in debug-run the function always appear like this:
??? License checkout failed.
License Manager Error -4
Maximum number of users for Statistics_Toolbox reached.
Try again later.
To see a list of current users use the lmstat utility or contact your License Administrator.
Troubleshoot this issue by visiting:
http://www.mathworks.com/support/lme/R2008a/4
Diagnostic Information:
Feature: Statistics_Toolbox
License path: C:\Documents and Settings\Michael\Application Data\MathWorks\MATLAB\R2008a_licenses;C:\Program Files\MATLAB\R2008a\licenses\license.dat;C:\Program
Files\MATLAB\R2008a\licenses\network.lic;
FLEXnet Licensing error: -4,132.
Error in ==> MKprob1 at 41
[F X]=ecdf(p);
.
but when i try to run another function, the function is run well.

 채택된 답변

José-Luis
José-Luis 2012년 11월 27일
편집: José-Luis 2012년 11월 27일

1 개 추천

It looks like you are using a license server, and that all the licenses for the statistics toolbox are in use ( ecdf() is a function in that toolbox).
Find out who in your department is using it, unplug their computer and try again.
In all seriousness, you could ask IT to get more licenses, or you wait until one is freed up, or you could write your own version of ecdf(), or you could look in the file exchange to see if someone has already done that.

댓글 수: 3

uncung fgv
uncung fgv 2012년 11월 27일
thx. yes this function from my colleague. at his computer it is run well. but when i copy to my PC it appears like that.
uncung fgv
uncung fgv 2012년 11월 27일
maybe there are another answer or suggestion. i wait for a day.
José-Luis
José-Luis 2012년 11월 27일
Fair enough.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Vishal Rane
Vishal Rane 2012년 11월 27일

0 개 추천

Check if you are able to run any basic function from Statistics_Toolbox in the command window first.
If you get the same error it is due to unavailablility of spare licenses on the server.

댓글 수: 2

uncung fgv
uncung fgv 2012년 11월 27일
ok, let me try. thx. but i am blind on matlab.
uncung fgv
uncung fgv 2012년 11월 27일
i ll ask my colleague. i ve no idea. thx.

댓글을 달려면 로그인하십시오.

카테고리

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

태그

질문:

2012년 11월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by