|What do you mean "in background"? If you don't want a window, don't create one. |
Do you mean you want to run in the notification tray? Then hide your window, and create a notification icon. The relevant Win32 function is Shell_NotifyIcon(). There's code out there for notify icons in Matlab already.
How To Ask Questions The Smart Way