Nonlinear Control Design Blockset    

Manipulating Constraints

Many editing commands operate on selected constraint bound segments in the active window. To select a constraint bound segment, click on it; all other segments in the active window are deselected. A selected segment appears white while unselected segments appear red (black outlined in white on monochrome). To deselect all segments, click in the figure, not on a segment.

You can move, stretch, split, or open constraints in the Nonlinear Control Design Blockset constraint figure by dragging with the mouse, using the keyboard, or using the menus and push buttons.

Using the Mouse

To move a constraint bound segment up or down, position the pointer over the segment and press and hold down the left mouse button. The pointer should change to an up/down drag cursor. While still holding the button down, drag the pointer to the target location, and release the mouse button.

To move a constraint bound segment boundary, position the pointer over the boundary to be moved, and press and hold down the left mouse button. The pointer should change to a left/right drag cursor. While still holding the button down, drag the pointer to the target location, and release the mouse button. Notice that the segments on either side of the boundary maintain their slopes.

To stretch a constraint bound segment, position the pointer just on the inside edge of the segment to be stretched and press and hold down the mouse button. The pointer should change to a fleur. While still holding the button down, drag the pointer to the target location, and release the mouse button. Note that short constraints may have to be stretched before they can be moved.

To split a constraint bound segment at a particular position, position the pointer over the segment to be split at the location you want to split the constraint, hold down the shift key and press the left mouse button (extended SelectionType). The segment splits where the pointer is and the segment to the left of the pointer selected. If you continue to hold down the left mouse button after splitting the segment, the selected segment can be stretched as described above.

To open a constraint bound segment, hold down the control key and press the left mouse button (alternate Selection Type). Opening a constraint bound segment creates a Constraint Editor dialog box. From the Constraint Editor dialog box, the selected constraint bound segment can be weighted. The Constraint Editor allows you to specify exactly the selected segment's position using the Position editor [x1 y1 x2 y2] field. Selecting a different constraint bound segment updates the Constraint Editor. If no constraints in the current constraint figure are selected, the Constraint Editor is destroyed.

Using the Keyboard

Keypress shortcuts allow you to perform all constraint manipulations using the keyboard. To use keypress shortcuts, the pointer must be on the appropriate Nonlinear Control Design Blockset constraint figure. The following table summarizes how constraint bounds can be moved using keypress shortcuts.

Small
Movements
Large
Movements
Movement
d
D
Entire constraint down
u
U
Entire constraint up
r
R
Extend constraint right
l
L
Extend constraint left
m
M
Right side of constraint down
z
Z
Left side of constraint down
p
P
Right side of constraint up
q
Q
Left side of constraint up

To split a selected constraint bound segment, press s or S. The segment splits at its midpoint, and the left most half is selected. To toggle forward through the constraint bound segments, press f or F. To toggle backward through the constraints, press b or B. To unselect a selected constraint, press n or N.

Using Edit Menu and Control Panel

You can open a selected constraint bound segment using the Edit constraint... option under the Edit menu. If no constraint is currently selected, an error dialog box prompts you to select a constraint first by clicking on it.

You can split a selected constraint bound segment by pressing the Split button on the Nonlinear Control Design Blockset constraint figure control panel. The selected constraint splits at its midpoint and the left portion of the segment becomes selected. If no constraint is currently selected, an error dialog box prompts you to select a constraint first by clicking on it.


  Object Manipulation Nonlinear Control Design Blockset Menus