    

 ## On this page

  

 

 # addCustom

 Last update: 30.07.2026 

public [addCustom](add-custom.md)(eqn: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), label: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

adds a custom variable to be displayed in the Data Collector

#### Parameters

eqnthe equation of variables, e.g.: "Model.Script.x + Model.Script.y"labelthe label for the equation, e.g.: "Design Var 1"#### Throws

[ModelCenterException](./../-model-center-exception/index.md)