What is the difference between group and inequality constraints in Matlab?

Sorry if this seems stupid. I was wondering what the difference between a group and inequality constraint is in Matlab. As far as I can tell they are the same:

From Matlab (http://uk.mathworks.com/help/finance/setgroups.html)

Set Group Constraints for a Portfolio Object Suppose you have a portfolio of five assets and you want to ensure that the first three assets constitute at most 30% of your portfolio. Given a Portfolio object p, set the group constraints with the following.

G = [ true true true false false ]; p = Portfolio; p = setGroups(p, G, [], 0.3);

disp(p.NumAssets); disp(p.GroupMatrix); disp(p.UpperGroup);

 5

1     1     1     0     0

0.3000


Also from Matlab (http://uk.mathworks.com/help/finance/setinequality.html)

Set Linear Inequality Constraints for a Portfolio Object Suppose you have a portfolio of five assets and you want to ensure that the first three assets are no more than 50% of your portfolio. Given a Portfolio object p, set the linear inequality constraints with the following.

A = [ 1 1 1 0 0 ]; b = 0.5; p = Portfolio; p = setInequality(p, A, b);

disp(p.NumAssets); disp(p.AInequality); disp(p.bInequality);

 5

1     1     1     0     0

0.5000


Am I misunderstanding something here?