Applying constraints to dragable points

1 view (last 30 days)
Ben
Ben on 28 Apr 2016
I'm trying to add contraints to my dragable points using the function "setPositionConstraintFcn". The application of this function is straight forward, however it is not clear how these contraintfunctions are generated. MATLAB offers "makeConstrainToRectFcn" to generate rectangular boundaries, however in my case i need a polygonal shape and not rectangular.

Answers (0)

Categories

Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!