I am adding a splash screen while my standalone matlab gui loads using the functions
function gui_OpeningFcn(hObject, ~, handles, varargin)
handles.output = hObject;
function initialize_gui(hObject, fig_handle, handles)
splash = imshow(imread('splash.png'),[0,255]);
I am trying to delete the variable splash once the gui loads. I have looked on the mathworks file share site but feel this way is much easier. I just can't figure out how to delete splash once the gui is loaded. I imagine I can create an if statement saying if (edittextbox, 'Visible', 'On') delete(splash) but that hasn't worked yet. Would I place that if statement under the initialize_gui function or underneath the callback function of the editText?