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
Create a new simluation object:
diagram = bdeGetCurrentDiagram();
simObject = bdeCreateSimulationObject('newSimulation', diagram);
simObject = hwscpSimulation