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.
In the Design Optimization tool, select Signal in the New drop-down list. A window opens where you select a signal to log.
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.
Select the signal and click to add it to the signal set.
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.