# Simulator

From SUMOwiki

The simulator is the data generating black box for which you want an approximation model (surrogate model). The simulator is anything that, when given a set of input data points, provides a set of output points. The simulator could be:

- a predefined mathematical function, e.g, '
`y = sin(x)`

' (`x`

is the input,`y`

the output) - a dataset
- a native executable taking input from command line
- a native executable taking input from stdin
- a Matlab function
- a Matlab class
- a Java class
- a shell script

Usually you already have some kind of simulator and you want to model it with the SUMO Toolbox. See the Adding an example page for details how to do this.