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

Posted on 2006-04-26
Last Modified: 2016-02-10
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 ?

Question by:zulti
    LVL 2

    Accepted Solution

    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.
    LVL 2

    Author Comment

    I'll be at work on Sunday, check it, and if I'll fail I'll post some code...

    LVL 2

    Author Comment

    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

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
    How to Win a Jar of Candy Corn: A Scientific Approach! I love mathematics. If you love mathematics also, you may enjoy this tip on how to use math to win your own jar of candy corn and to impress your friends. As I said, I love math, but I gu…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now