Allow argument to check dims > 2 on matrix input argument
Bug Description
Arguments block does not allow to check dimension over input dimensions
Steps to reproduce
function check(x)
arguments
x (:, :, [1 3])
end
// ...
endfunction
check(rand(2, 2)) //must pass
check(rand(2, 2, 3)) //must pass
check(rand(2, 2, 2)) //must fail