getFunction

Purpose

Extract function handle from the union of convex sets.

Syntax

F = getFunction(U, FuncName)
F = U.getFunction(FuncName)

Description

Extract Function object that is attached to a union U under the name FuncName.

Input Arguments

U

Union of sets derived from the ConvexSet class, e.g. Polyhedron, YSet, ...

Class: Union

FuncName

Name of the function to extract.

Class: char

Output Arguments

F

Function object stored under the FuncName string.

Class: Function

See Also

hasfunction, addfunction, removefunction


© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch

© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk