bdeCreateSimulationObject
Creates a new simulation object from a diagram.
Syntax
simObject = bdeCreateSimulationObject(filename, rootDiagram)
Inputs
- filename
- The filename of the newly created simulation.
- rootDiagram (Optional)
- The diagram to use for the new simulation.
Outputs
- simObject
- The newly created simulation object.
Examples
diagram = bdeGetCurrentDiagram();
simObject = bdeCreateSimulationObject('newSimulation', diagram);
simObject = hwscpSimulation