Added on close shoutdown matlab