I am assuming that your plant model has no link with MATLAB. If you have any error with your model, that will be visible in the diagnostic viewer. Since your model runs without any error, it might be a problem with some file in MATLAB. Please make sure of the MATLAB scripts if any, associated with your model.
Hope this helps!