dates.subsref: compatibility fix for MATLAB < R2010b

Provide an alternative implementation of ismatrix.
parent 53450e18
Pipeline #1861 passed with stage
in 1 minute and 59 seconds