Adding a Local Variable from a Component

To define a local variable from a component:

  1. Display the properties of the component that will use the local variable to define. To do this, do any one of the following:
    • Right-click the component and select Properties. The Properties dialog box opens.

      Click the Parameter Values or the Quantities tab.

    • Select the component and view its properties in the Param Values or Quantities tab of the desktop’s Properties window.
      1. Select the component.
      2. Select Edit > Properties. The Properties dialog box opens.
      3. Click the Parameter Values tab.
  2. Click the Value field for the parameter you want to set equal to the local variable.
  3. Type the variable name. The name may not duplicate a reserved (intrinsic) variable name. See Reserved Variable Names for details.
  4. Click OK. The Add New Variable dialog box appears.
  1. Type a valid numerical quantity in the Value box.
  2. Click LocalVariable.
  3. Click OK.
    Note:

    Local variables are not usable in the design’s subcircuits and are not in the design’s public interface (that is, they are not visible on the component representing the design when it is used as a subdesign).

  4. Click Add to add another local variable, or click OK to stop adding local variables.