Code covered by the BSD License  

Highlights from
GUI4GUI

image thumbnail
from GUI4GUI by Massimiliano Versace
A GUI for building GUIs

myComplement.html

myComplement.m


function varargout = myComplement(MENUS,menu_defined)
tf = logical(zeros(1,length(MENUS)));
for menu=1:length(menu_defined)
    tf = tf + strcmp(menu_defined(menu),MENUS);
end
varargout{1} = MENUS(logical(1-tf));

Contact us at files@mathworks.com