    

 ## On this page

  

 

 # setInput

 Last update: 30.07.2026 

public [setInput](set-input.md)(run: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), value: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

sets a given input to a given value for a given run

#### Parameters

runthe run number (0-based index)namethe variable namevaluethe value for the specified variable to run for this specified run.#### Throws

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