If you want a slider that changes the plot, then what could be done is to use MATLAB appdesigner and include all necessary elements such as an 'Axes' object to display the selected plot and a 'Slider' object with a callback that changes the selected plot. A callback is basically a function that is executed when a specific Event such as moving a slider is triggered. Objects such as buttons, sliders and checkboxes can trigger events.
Next you'll need a way to import data for the needed plots. For that you can use a 'Text Field' along with a browse 'Button'. Add a call back to the Button click event containing the function 'uigetfile'. This will allow you to get the file as well as the path at which your data is stored.
[file,path] = uigetfile % returns the file name and path to the file when the user clicks Open. If the user clicks Cancel or the window close button (X), then uigetfile returns 0 for both of the output arguments.
The callback function on the slider can now use the data from the file returned by uigetfile function to plot the required graph on the Axes object. For example, given x and y you can generate a plot with the following code:
x = linspace(-pi,pi,50);
y = 5*sin(x);
plot(ax,x,y)
Relevant links:
Designing Apps in App Designer: https://www.mathworks.com/help/matlab/components-in-app-designer.html.
Write Callbacks in App Designer: https://www.mathworks.com/help/matlab/creating_guis/write-callbacks-for-gui-in-app-designer.html.
App Designer) Create UI axes for plots in App Designer:https://www.mathworks.com/help/matlab/ref/uiaxes.html.

