Problem with gui : Error while evaluating UIControl Callback

1 回表示 (過去 30 日間)
Pavlo M
Pavlo M 2018 年 4 月 30 日
コメント済み: Pavlo M 2018 年 4 月 30 日
Hey everyone. I was working on my gui interface for a while, and recently it started showing me this error. The whole idea of gui is to connect with multimeter and make measurement. It launches and runs but at some point (60-90 sec) it would show me this : Error using but_conf_aply_Callback (line 306), Error while evaluating UIControl Callback. The code in that line is following : pause(0.005); And after that, whole Matlab won`t work, so i have to relaunch it again. I don`t use global variables. Please help. The file is attached below.
  2 件のコメント
Jan
Jan 2018 年 4 月 30 日
Is this the complete error message? It tells only, where the error occurs, but not, what the error is.
Some ideas: Using "sum" as name of a variables causes troubles frequently, when the function with the same name is used later.
temp=sprintf('%.2f',temp);
set(handles.edit1,'string',num2str(temp));
temp is a string already, so there is no need for num2str here.
Pavlo M
Pavlo M 2018 年 4 月 30 日
Thanks for your answer Jan. Yes, unfortunuately, that`s only the error which matlab shows.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by