Ignoring error messages from Dynare

I want to loop in matlab over parameter settings. Sometimes the parameter settings will make the model unstable and thus result in an error message (Blanchard Kahn not satisfied).
I would actually want matlab to continue with the loop when this happens, and just ignore the error message.
Is this possible? If so, how??
Many thanks in advance!
I would actually want matlab to continue with the loop when this happens, and just ignore the error message.
Is this possible? If so, how??
Many thanks in advance!