model_diagnostics.m: allow setting tolerance for singularity checks starting with Matlab 2022a

Merge request reports

Loading