I guess you are using some external function suptitle. This function is not provided in MATLAB. From MATLAB R2018b and onward, you can use sgtitle function to create a title above subplots. The title is created as a textbox and made a child of figure objects. You can find it by looking at the Children of the figure handle.