matlab msg box help

azharnusayef
azharnusayef used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
From http://www.mathworks.com/access/helpdesk_r13/help/techdoc/ref/msgbox.html

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