What to do after getting message :-matlab:matlab.internal.language.introspective.errorDoccallback['name of main criptfile', ' path of calledfunction, line number when clbp command is executed].
이전 댓글 표시
I am running feature extraction code using completed local binary pattern descriptor for which i am using function clbp.m which is called four times from another function. When i run the main script file, i get message : matlab:matlab.internal.language.introspective.errorDoccallback['name of main scriptfile', ' path of called function, line number when clbp command is executed].
However program is running. Should i ignore the warning or any changes are to be done? Sincere thanks!
댓글 수: 8
Walter Roberson
2019년 9월 29일
There would have been more information before that, such as "index out of range"; we need that other information.
Walter Roberson
2019년 9월 29일
I am not sure. A screen capture showing the errorDoccallback line and the lines before that would help. Possibly it is just from the warning.
If it is just from the warning, then the short term fix is to ignore it. If it is making it difficult to read the output, then there is a warning() call that can be used to turn it off. But the longer term fix is to rewrite the code to use NARGINCHK or NARGOUTCHK instead of NARGCHK.
ipwork
2019년 9월 29일
Walter Roberson
2019년 9월 29일
Yes, that is a warning, best to update the function.
ipwork
2019년 9월 29일
121102006 B.Tech ECE- Setu Vaishnavi
2021년 3월 15일
how to know the updated function in the updated version of matlab?
Walter Roberson
2021년 3월 15일
Replace
error(nargchk(LOW,HIGH,nargin))
with
narginchk(LOW,HIGH)
답변 (1개)
Sridurgaprasad
2023년 9월 8일
0 개 추천
matlab.internal.language.introspective.errorDocCallback
카테고리
도움말 센터 및 File Exchange에서 Argument Definitions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!