I created a custom figure with GUIDE that I want to create multiple instances of. Each custom figure contains 3 sliders and a set of axes. I want to treat that custom figure as an object and then fig1 = new customFigure() fig2 = new customFigure() etc. I also want to be able to access the child components inside each custom figure so for example I want to be able to read fig2.slider1.Value from my main program file and have that be a different instance than fig1.slider1.Value. (As an aside, my background is C and Java so I don't fully understand how MatLab is working here)
MATLAB: Creating separate instances of a custom GUIDE figure and access ui elements inside
figureguideui
Best Answer