matlab msg box help

azharnusayef used Ask the Experts™
hi i have this question can  aneone help me??

h = msgbox(message) is a funtion that displays a message and returns a value to h
how the funtion return different values to h?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

h = msgbox(...)  returns the handle of the box in h, which is a handle to a Figure graphics object.

It can be different every time you run the function. You can use h to get/set different message box properties once it created.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial