To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
Is there a way to look for existing interface objects prior to creating new ones? For example, if programs don't complete there are often objects in memory still connected to instruments. This causes problems if they are in place when the program is run again.
A better practice would be to make sure no objects exist before creating new ones, but I'm not sure how.