Compatibility fix: ismatrix and isrow were introduced in MATLAB R2010b

Provide alternative implementations, taken from Dynare.
3 jobs for master in 1 minute and 22 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #6446
testsuite_matlab

00:01:01

failed #6448
allowed to fail
testsuite_octave

00:01:21

failed #6447
allowed to fail
testsuite_old_matlab

00:00:48

 
Name Stage Failure
failed
testsuite_octave Test
/home/gitlab-runner/builds/2084817d/0/sebastien/dseries/tests/../src/utilities/x13/printoption.m                                      Unit test number  1  PASS    [   0.023838 ]
/home/gitlab-runner/builds/2084817d/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 1 PASS [ 0.0107901 ]
/home/gitlab-runner/builds/2084817d/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 2 PASS [ 0.0099721 ]
/home/gitlab-runner/builds/2084817d/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 3 PASS [ 0.00943804 ]
/home/gitlab-runner/builds/2084817d/0/sebastien/dseries/tests/../src/utilities/x13/printstart.m Unit test number 1 PASS [ 0.00809908 ]
/home/gitlab-runner/builds/2084817d/0/sebastien/dseries/tests/../src/utilities/x13/setdefaultmember.m Unit test number 1 PASS [ 0.00573993 ]

make: *** [Makefile:10: check-octave] Error 1
ERROR: Job failed: exit status 1
failed
testsuite_old_matlab Test
/home/gitlab-runner/builds/a354a37e/0/sebastien/dseries/tests/../src/utilities/x13/printoption.m                                      Unit test number  1  PASS    [ 0.011354 ]
/home/gitlab-runner/builds/a354a37e/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 1 PASS [ 0.004552 ]
/home/gitlab-runner/builds/a354a37e/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 2 PASS [ 0.002777 ]
/home/gitlab-runner/builds/a354a37e/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 3 PASS [ 0.002798 ]
/home/gitlab-runner/builds/a354a37e/0/sebastien/dseries/tests/../src/utilities/x13/printstart.m Unit test number 1 PASS [ 0.002916 ]
/home/gitlab-runner/builds/a354a37e/0/sebastien/dseries/tests/../src/utilities/x13/setdefaultmember.m Unit test number 1 PASS [ 0.002318 ]

make: *** [Makefile:14: check-matlab] Error 1
ERROR: Job failed: exit status 1