How can I define a userdefined function for interpolation? For example, defining a exponential decay function with ends as control points? (y=y0*exp^(-d*t)); where y0 is initial quantity, t is time, d is decay per unit time.
So when I drag the control points the curvature of the curve is controlled by exponential decay function and d gets calculated based on initial and final position of the control points (d = [log(y2) - log(y1)]/[x2-x1]).
robert howrd, main thing here is not GUI, it is object that you can insert to any GUI. For example waveform generator: http://www.mathworks.com/matlabcentral/fileexchange/35183-waveform-generator-gui-2
At first, I didn't realize you had all of these set* methods. I was trying to change the properties directly, because they were all public. My suggestion was to make some of the properties protected or hidden (if it's only used internally)