What does "Interrupt while evaluating Button PrivateButtonPushedFcn." mean?

My program was working but now I'm getting this.
Interrupt while evaluating Button PrivateButtonPushedFcn.
If I knew more about the error maybe I coud fix it. There is no help looking up this error in MatLab help. Googled but got trivial problems others had had.

1 件のコメント

Aditya
Aditya 2024 年 7 月 31 日
Hi Gavin,
you can take a look into this similar kind of issue related to "Interrupt error": https://in.mathworks.com/matlabcentral/answers/432042
or else if possible could you eplain the issue in more details?

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

 採用された回答

Walter Roberson
Walter Roberson 2024 年 7 月 31 日

0 投票

It means that you pressed control-C while the callback for PrivateButtonPushedFcn was active.

3 件のコメント

Gavin
Gavin 2024 年 8 月 1 日
I did not press Ctrl-C but I was possibly at a breakpoint in the debugger.
I'm having trouble because unless you are paused at a breakpoint you can't see any values of variables or handles.
>> app.DebugField.Value
Unable to resolve the name 'app.DebugField.Value'.
>> toPicoStr
Unrecognized function or variable 'toPicoStr'.
Nothing can be seen while the program is running and not halted somewhere. There is probably a reason but I's sure like to track variables without having to set a random breakpoint to get a halt.
Gavin
Gavin 2024 年 9 月 16 日
It sure would be nice it the Command Window could see public variables of a running app without needing to hit a breakpoint. Is there a work around? A reason this can't be done?
Walter Roberson
Walter Roberson 2024 年 9 月 16 日
Polling for changes to variables and transfering the new contents over to display is an expensive operation. MATLAB would slow down a lot if the variable browser were continually updated between breakpoints.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Matrix Indexing についてさらに検索

製品

リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by