MessageQueue:

Path: Common/GUIs

--------------------------------------------------------------------------
   Creates a message queue GUI. Once opened, it stays open. 
   It accumulates messages from any function that sends messages to the queue.

   Add this to your code whenever you want a to alert the user to an error.

   MessageQueue('add', myFunction ,'The error','error');

   Add this to your code whenever you want a to send the user a message.

   MessageQueue('add', myFunction ,'The message');

   You can turn on a sound notification. Use MessageQueue( 'sound on' ).

--------------------------------------------------------------------------
   Form:
   MessageQueue( action, modifier, msg, err )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action          (1,:)   Action to be taken 
   modifier        (1,:)   Action modifier
   msg             (1,:)   Message
   err             (1,:)   If anything entered an error

   -------
   Outputs
   -------
   none

--------------------------------------------------------------------------

Children:

Common: CommonData/Sosumi
Common: General/CloseFigure
Common: General/FSWClock
builder: Templates/HelpSystem

Back to the Common Module page