Compatibility fix: ismatrix and isrow were introduced in MATLAB R2010b

Provide alternative implementations, taken from Dynare.
parent 53450e18
Pipeline #1862 passed with stage
in 1 minute and 22 seconds