Remove all functions that are associated to this union of convex sets.
U = U.removeAllFunctions
U = removeAllFunctions(U)
U |
Object of the Union class that holds objects derived from ConvexSet class. Class: Union |
U |
Modified object of Union class without the function handles. Class: Union |
x = sdpvar(3,1);
F1=[randn(12,3)*x<=ones(12,1)];
F2=[randn(12,3)*x<=ones(12,1)];
Y(1) = YSet(x,F1);
Y(2) = YSet(x,F2);Add function handles to each set.
for i=1:2, Y(i).addFunction(AffFunction(randn(1,3)),'a'); Y(i).addFunction(AffFunction(randn(1,3)),'b'); endCreate the union of polyhedra
U = Union(Y)
Union of 2 convex sets. Functions : 2 attached "a", "b"Remove all functions handles from the union
U.removeAllFunctions
Union of 2 convex sets. Functions : none
◀ | removefunction | getfunction | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch