Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Problem running file from pushbutton which doesnt occur when evaluating command in GUI code

3 ビュー (過去 30 日間)
Henry
Henry 2013 年 7 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi,
I'm currently very confused about this.
In my callback for a pushbutton it runs an .m file which contains a while loop in it.
If I highlight and then evaluate it, there's no problems, it runs the file and the loop goes round as it should.
However, when I run the whole GUI and press the button it only goes through the loop once.
It doesnt matter how many times i do either, or what order i do it, evalutaing the bit in the callback works but the pushbutton doesnt.
Why is this?
Thanks,
Henry

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by