    

 ## On this page

  

 

 # setRunName

 Last update: 30.07.2026 

public [setRunName](set-run-name.md)(runNum: [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))

sets the run name for a given run number

#### Parameters

runNumthe number of the run to set the name for (0-based index)namethe name to give the given run#### Throws

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