Searching/Deleting Unused Processes/Methods

You cannot search for unused processes/methods in a component and its sub-components in the same way as for unused elements. Instead, proceed as follows:

  1. Do one of the following:

    Information, warning and error messages are displayed in the Messages tab of the ASCET monitor window. Unused processes/methods are indicated by the following messages:

    Location in
    monitor

    Message
    No.

    Message text

    processes 

    <process> node

    WBdl2

    process "process name" (using <*>Closed = Block Diagram or ESDL or C Code specification) is not defined

    methods

    <method> node

    WBdl2

    method "method name" (using <*> specification) is not defined

    Global Analysis
    node

    IMdl93

    method <method name> not used in this project

  2. To delete an unused process/method, proceed as follows:

    1. In the ASCET monitor window, double-click a warning message with number WBdl2.

      Note

      In case of a method, you can also double-click an information message with number IMdl93.

      The parent component of the method opens. The process/method mentioned in the warning message is selected in the Outline tab.

    2. Right-click the process/method and select Delete from the context menu.

See also

Searching/Deleting Unused Elements