Diffusion Model Predictive Control Matlab