Hi,
Thanks for the code but I have error below in the code
Error: File: SliderSIX.m Line: 175 Column: 1
The function "slider1_Callback" was closed with an 'end', but at least one other function definition was not. To avoid confusion when using nested functions, it is illegal to use both conventions in the same file.