MATLAB: How do i make a gui a singleton that was NOT created using GUIDE ??

singleton guis

I do not always use Guide to create my GUI's. The Gui's I created using GUIDE are defined as singleton. How can I make my non-Guide created GUi's have singleton threads?