No, the functionality you are intested in is probably boundingbox (it will only be of use if your model is convex and the bounds actually can be computed efficiently. Additionally, if you have a complex model, it might be important to use a second argument to specify which variables you are interested in, since YALMIP creates variables internally also)
sdpvar x1 x2
P = [x1 + x2 <= 1, x1 - x2 <= 1, -x1 + x2 <= 1, -x1-x2 <= 1]
[B,L,U] = boundingbox(P);
L
U
hold on
plot(B,[],'y');
plot(P);
Unfortunately, there is a silly bug in some versions which causes the generated object to be wrong (the bounds are correct though). Edit lmi/boundingbox and line 91 looks like this
B = [B, (xUf >= L(Uf)):'Finite upper bounds'];
It should be changed to
B = [B, (xUf <= U(Uf)):'Finite upper bounds'];