bdeGetSimulationObjectModel

Gets a model from a given simulation object.

Syntax

simObjectModel = bdeGetSimulationObjectModel(simObject)

Inputs

simObject
The simulation object to get the model of.
Type: hwscpSimulation

Outputs

simObjectModel
The diagram/model that is used for the simulation.
Type: hwscpDiagram

Examples

Get the diagram that is used for a simulation:

          diagram = bdeGetCurrentDiagram();
          simObject = bdeGetSimulationObject(diagram);
          simObjectModel = bdeGetSimulationObjectModel(simObject);
        

          
            simObjectModel = hwscpDiagram