Contents

Specify Signals to Log

Design requirements require logged model signals. During optimization, the model is simulated using the current value of the design variables and the logged signal is used to evaluate the design requirements.

  1. In the Design Optimization tool, select Signal in the New drop-down list. A window opens where you select a signal to log.

  2. In the Simulink® model window, click the signal to which you want to add a requirement.

    The window updates and displays the name of the block and the port number where the selected signal is located.

  3. Select the signal and click to add it to the signal set.

  4. In the Signal set box, enter a name for the selected signal set.

    Click OK. A new variable, with the specified name, appears in the Design Optimization Workspace of the Design Optimization tool window.

Was this topic helpful?