function cdata = iconRead(filename) % ICONREAD read an image file .mat and return CData for a HG icon. data = load(filename); cdata = data.cdata;