Applying constraints to dragable points

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.

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Produits

Question posée :

Ben
le 28 Avr 2016

Community Treasure Hunt

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

Start Hunting!

Translated by