How to remove this error, I get it in all my programme?
조회 수: 2 (최근 30일)
이전 댓글 표시
Error using gradient (line 49)
Too many output arguments.
Error in feature (line 21)
[gx gy]=gradient(G);
Error in images.internal.isFigureAvailable (line 9)
if feature('showFigureWindows')
Error in imshow (line 207)
if ~images.internal.isFigureAvailable()
Error in Untitle (line 2)
imshow(A);
please, Help me as soon as possible.
댓글 수: 0
답변 (2개)
Walter Roberson
2019년 2월 18일
Use
which -all gradient
I suspect you will find that you have your own gradient.m or else that you have a third-party toolbox installed that has its own gradient.m that is interfering with the Mathworks' provided gradient() function.
But first your problem is that you have your own feature.m or a third-party toolbox feature.m on your path that is causing problems.
댓글 수: 7
Walter Roberson
2019년 2월 18일
At the MATLAB command prompt, execute
prefdir
The output will be the name of a directory on your machine. Take note of that information. Now quit MATLAB. Use your system tools to navigate to the directory that contains the one that was named, and renamed the directory to something else. Now go back into MATLAB and things might start working properly.
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!