modify matlab function to remove unwanted toolbar options, but MatlabFigure Demo still not works ideally