MATLAB: Could anyone help me how to partition number into disjoint subnumber in different ways

partition

If i run the command combinat::bell(3) it gives 5.
But i want to get the disjoint partition of {{1, 2, 3}}, {{1}, {2, 3}}, {{2}, {1, 3}}, {{3}, {1, 2}}, and {{1}, {2}, {3}} in 5 different ways. Could anyone help me on this.