SimulationExecutionModelInfo getSimulationExecutionModelInfo(GeneratedCode.SimulationModelRoot model)
        {
            SimulationExecutionModelInfo simex = new SimulationExecutionModelInfo();
            SimulatorExecutionInfo       sim   = null;

            simex.updateFrequency = model.SimulationExecutionModel.UpdateFrequency;
            if (model.SimulationExecutionModel.Simulator != null)
            {
                for (int i = 0; i < model.SimulationExecutionModel.Simulator.Length; i++)
                {
                    sim = new SimulatorExecutionInfo();
                    sim.simulatorName = model.SimulationExecutionModel.Simulator[i].SimulatorName;
                    sim.dllName       = model.SimulationExecutionModel.Simulator[i].DLLName;
                    simex.simulators.Add(sim);
                }
            }
            return(simex);
        }
 SimulationExecutionModelInfo getSimulationExecutionModelInfo(GeneratedCode.SimulationModelRoot model)
 {
     SimulationExecutionModelInfo simex = new SimulationExecutionModelInfo();
     SimulatorExecutionInfo sim = null;
     simex.updateFrequency = model.SimulationExecutionModel.UpdateFrequency;
     if (model.SimulationExecutionModel.Simulator != null)
     {
         for (int i = 0; i < model.SimulationExecutionModel.Simulator.Length; i++)
         {
             sim = new SimulatorExecutionInfo();
             sim.simulatorName = model.SimulationExecutionModel.Simulator[i].SimulatorName;
             sim.dllName = model.SimulationExecutionModel.Simulator[i].DLLName;
             simex.simulators.Add(sim);
         }
     }
     return simex;
 }