1 #!/usr/bin/octave --silent
5 [tst, a, b] = common_id(4001, 1)
6 [tst, a, b] = common_id(4001, [1 2; 3 4])
7 [tst, a, b] = common_id([4001 4002], [1 2])
8 [tst, a, b] = common_id('4001', '1')
9 [tst, a, b] = common_id('4001', {'1' '2'; '3' '4'})
10 [tst, a, b] = common_id({'4001' '4002'}, {'1' '2'})
11 [tst, a, b] = common_id({'4001' '4002'}, [1 2])
12 [tst, a, b] = common_id([4001 4002], {'1' '2'})
13 [tst, a, b, c, d] = common_id([4001 4002], {'1' '2'}, '4001', [1 2])