フィルターのクリア

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
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
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.
  1 件のコメント
Chibuzo Chukwu
Chibuzo Chukwu 2018 年 11 月 8 日
編集済み: Chibuzo Chukwu 2018 年 11 月 8 日
Unfortunately, I am not too deep in Matlab coding so looking at the code, what can be done to make it compactable with the current Matlab version?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by