Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

Matlab - I stuck with a sand-clock after the opened window have been shut down.

Hi
I wrote an application with Matlab that opens a window, display things, and wait the user to press some push-buttons, as a result of one push-button the application than opens a new window
something like :

h = newApp(Data) ;
waitfor(h) ;
% new display new things, and wait for more push-buttons...

when I open the newApp window, the cursor is looking like a sand-clock while inside the oldApp window, but it stays as sand-clock and does not changed back to arrow when I close the newApp window.

can any one help me with that one ?

~\Q/~
~~~~
Avi.
0
zulti
Asked:
zulti
  • 2
1 Solution
 
gordonkennedyCommented:
The cursor doesn't automatically change to an hourglass when you open a new matlab window, so you should be able to identify some code somewhere that is specifically changing your cursor, and then find out why it is not getting changed back on window close.

Failing this, if you post sufficient m-code to replicate your problem, I'll find the answer for you.
0
 
zultiAuthor Commented:
thanks
I'll be at work on Sunday, check it, and if I'll fail I'll post some code...

0
 
zultiAuthor Commented:
Hi gordon
I rechecked the code I've called, and found the following command
oldFigure = watchon ;

I couldn't find any help on that command.

I've used watchoff, after closing the new figure, and the hourglass cursor was back to the regular pointer.

Thanks again
Avi.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now