How can I use resolve this error on the getslopeintercept function It worked well in the past (2014) for me but its yielding errors in the current Matlab version.
조회 수: 1 (최근 30일)
이전 댓글 표시
The function shows errors
Error using waitforbuttonpress Undefined function or variable 'wbmf'.
Error using getslopeintercept (line 47) Error while evaluating Figure WindowButtonMotionFcn.
댓글 수: 1
Stephen23
2018년 11월 8일
편집: Stephen23
2018년 11월 8일
The function wbmf is included in that file, so it is not clear what the problem might be. Is this the actual file that you are using?
Note that graphics code written in 2002 and updated in 2009 is quite possibly incompatible with HG2, the new graphics engine used since MATLAB R2014b:
답변 (1개)
Stephen23
2018년 11월 8일
편집: Stephen23
2018년 11월 8일
"...It worked well in the past (2014) for me but its yielding errors in the current Matlab version."
I would not assume that any GUI code that was written prior to R2014b will work on current MATLAB:
At the very least you would need to carefully check those functions to ensure that they are compatible with the new graphics engine, and any other changes to the graphics functions.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!