static void sf_opaque_initialize_c27_ArregloSeisPorSeis(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc27_ArregloSeisPorSeisInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c27_ArregloSeisPorSeis
    ((SFc27_ArregloSeisPorSeisInstanceStruct*) chartInstanceVar);
  initialize_c27_ArregloSeisPorSeis((SFc27_ArregloSeisPorSeisInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c5_testing_Control(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc5_testing_ControlInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c5_testing_Control((SFc5_testing_ControlInstanceStruct*)
    chartInstanceVar);
  initialize_c5_testing_Control((SFc5_testing_ControlInstanceStruct*)
    chartInstanceVar);
}
Exemple #3
0
static void sf_opaque_initialize_c39_old_Demo_RPS(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc39_old_Demo_RPSInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c39_old_Demo_RPS((SFc39_old_Demo_RPSInstanceStruct*)
    chartInstanceVar);
  initialize_c39_old_Demo_RPS((SFc39_old_Demo_RPSInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c24_ManipulatorME4901(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc24_ManipulatorME4901InstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c24_ManipulatorME4901((SFc24_ManipulatorME4901InstanceStruct*)
    chartInstanceVar);
  initialize_c24_ManipulatorME4901((SFc24_ManipulatorME4901InstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c7_NMPC_Controller(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc7_NMPC_ControllerInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c7_NMPC_Controller((SFc7_NMPC_ControllerInstanceStruct*)
    chartInstanceVar);
  initialize_c7_NMPC_Controller((SFc7_NMPC_ControllerInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c7_aircraft_simplex(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc7_aircraft_simplexInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c7_aircraft_simplex((SFc7_aircraft_simplexInstanceStruct*)
    chartInstanceVar);
  initialize_c7_aircraft_simplex((SFc7_aircraft_simplexInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c2_dEMO_EP_IdleRandMerg2(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc2_dEMO_EP_IdleRandMerg2InstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c2_dEMO_EP_IdleRandMerg2
    ((SFc2_dEMO_EP_IdleRandMerg2InstanceStruct*) chartInstanceVar);
  initialize_c2_dEMO_EP_IdleRandMerg2((SFc2_dEMO_EP_IdleRandMerg2InstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c41_Expriment_FacialExpr(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc41_Expriment_FacialExprInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c41_Expriment_FacialExpr
    ((SFc41_Expriment_FacialExprInstanceStruct*) chartInstanceVar);
  initialize_c41_Expriment_FacialExpr((SFc41_Expriment_FacialExprInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c3_DisplayCANMsg(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc3_DisplayCANMsgInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c3_DisplayCANMsg((SFc3_DisplayCANMsgInstanceStruct*)
    chartInstanceVar);
  initialize_c3_DisplayCANMsg((SFc3_DisplayCANMsgInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c1_TTR_RobustMPC_RTmdl(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc1_TTR_RobustMPC_RTmdlInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c1_TTR_RobustMPC_RTmdl
    ((SFc1_TTR_RobustMPC_RTmdlInstanceStruct*) chartInstanceVar);
  initialize_c1_TTR_RobustMPC_RTmdl((SFc1_TTR_RobustMPC_RTmdlInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c52_Expriment_Gaze(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc52_Expriment_GazeInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c52_Expriment_Gaze((SFc52_Expriment_GazeInstanceStruct*)
    chartInstanceVar);
  initialize_c52_Expriment_Gaze((SFc52_Expriment_GazeInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c7_WEC_Sim_Driver(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc7_WEC_Sim_DriverInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c7_WEC_Sim_Driver((SFc7_WEC_Sim_DriverInstanceStruct*)
    chartInstanceVar);
  initialize_c7_WEC_Sim_Driver((SFc7_WEC_Sim_DriverInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c4_varymultiswarm(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc4_varymultiswarmInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c4_varymultiswarm((SFc4_varymultiswarmInstanceStruct*)
    chartInstanceVar);
  initialize_c4_varymultiswarm((SFc4_varymultiswarmInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c5_testYarpReadSHORE(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc5_testYarpReadSHOREInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c5_testYarpReadSHORE((SFc5_testYarpReadSHOREInstanceStruct*)
    chartInstanceVar);
  initialize_c5_testYarpReadSHORE((SFc5_testYarpReadSHOREInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c13_Final_Project_v3b(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc13_Final_Project_v3bInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c13_Final_Project_v3b((SFc13_Final_Project_v3bInstanceStruct*)
    chartInstanceVar);
  initialize_c13_Final_Project_v3b((SFc13_Final_Project_v3bInstanceStruct*)
    chartInstanceVar);
}
Exemple #16
0
static void sf_opaque_initialize_c35_Expriment_All(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc35_Expriment_AllInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c35_Expriment_All((SFc35_Expriment_AllInstanceStruct*)
    chartInstanceVar);
  initialize_c35_Expriment_All((SFc35_Expriment_AllInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c8_NavigationObserver_2(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc8_NavigationObserver_2InstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c8_NavigationObserver_2
    ((SFc8_NavigationObserver_2InstanceStruct*) chartInstanceVar);
  initialize_c8_NavigationObserver_2((SFc8_NavigationObserver_2InstanceStruct*)
    chartInstanceVar);
}
Exemple #18
0
static void sf_opaque_initialize_c13_EP_IdleRand_K(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc13_EP_IdleRand_KInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c13_EP_IdleRand_K((SFc13_EP_IdleRand_KInstanceStruct*)
    chartInstanceVar);
  initialize_c13_EP_IdleRand_K((SFc13_EP_IdleRand_KInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c13_BoatLibraryTest02(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc13_BoatLibraryTest02InstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c13_BoatLibraryTest02((SFc13_BoatLibraryTest02InstanceStruct*)
    chartInstanceVar);
  initialize_c13_BoatLibraryTest02((SFc13_BoatLibraryTest02InstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c10_dynamics_kinematics(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc10_dynamics_kinematicsInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c10_dynamics_kinematics
    ((SFc10_dynamics_kinematicsInstanceStruct*) chartInstanceVar);
  initialize_c10_dynamics_kinematics((SFc10_dynamics_kinematicsInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c24_CusakisME4901arcs(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc24_CusakisME4901arcsInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c24_CusakisME4901arcs((SFc24_CusakisME4901arcsInstanceStruct*)
    chartInstanceVar);
  initialize_c24_CusakisME4901arcs((SFc24_CusakisME4901arcsInstanceStruct*)
    chartInstanceVar);
}
static void mdlStart_c7_aircraft_simplex(SimStruct *S)
{
  SFc7_aircraft_simplexInstanceStruct *chartInstance;
  ChartRunTimeInfo * crtInfo = (ChartRunTimeInfo *)utMalloc(sizeof
    (ChartRunTimeInfo));
  chartInstance = (SFc7_aircraft_simplexInstanceStruct *)utMalloc(sizeof
    (SFc7_aircraft_simplexInstanceStruct));
  memset(chartInstance, 0, sizeof(SFc7_aircraft_simplexInstanceStruct));
  if (chartInstance==NULL) {
    sf_mex_error_message("Could not allocate memory for chart instance.");
  }

  chartInstance->chartInfo.chartInstance = chartInstance;
  chartInstance->chartInfo.isEMLChart = 1;
  chartInstance->chartInfo.chartInitialized = 0;
  chartInstance->chartInfo.sFunctionGateway =
    sf_opaque_gateway_c7_aircraft_simplex;
  chartInstance->chartInfo.initializeChart =
    sf_opaque_initialize_c7_aircraft_simplex;
  chartInstance->chartInfo.terminateChart =
    sf_opaque_terminate_c7_aircraft_simplex;
  chartInstance->chartInfo.enableChart = sf_opaque_enable_c7_aircraft_simplex;
  chartInstance->chartInfo.disableChart = sf_opaque_disable_c7_aircraft_simplex;
  chartInstance->chartInfo.getSimState =
    sf_opaque_get_sim_state_c7_aircraft_simplex;
  chartInstance->chartInfo.setSimState =
    sf_opaque_set_sim_state_c7_aircraft_simplex;
  chartInstance->chartInfo.getSimStateInfo =
    sf_get_sim_state_info_c7_aircraft_simplex;
  chartInstance->chartInfo.zeroCrossings = NULL;
  chartInstance->chartInfo.outputs = NULL;
  chartInstance->chartInfo.derivatives = NULL;
  chartInstance->chartInfo.mdlRTW = mdlRTW_c7_aircraft_simplex;
  chartInstance->chartInfo.mdlStart = mdlStart_c7_aircraft_simplex;
  chartInstance->chartInfo.mdlSetWorkWidths =
    mdlSetWorkWidths_c7_aircraft_simplex;
  chartInstance->chartInfo.extModeExec = NULL;
  chartInstance->chartInfo.restoreLastMajorStepConfiguration = NULL;
  chartInstance->chartInfo.restoreBeforeLastMajorStepConfiguration = NULL;
  chartInstance->chartInfo.storeCurrentConfiguration = NULL;
  chartInstance->chartInfo.callAtomicSubchartUserFcn = NULL;
  chartInstance->chartInfo.callAtomicSubchartAutoFcn = NULL;
  chartInstance->chartInfo.debugInstance = sfGlobalDebugInstanceStruct;
  chartInstance->S = S;
  crtInfo->checksum = SF_RUNTIME_INFO_CHECKSUM;
  crtInfo->instanceInfo = (&(chartInstance->chartInfo));
  crtInfo->isJITEnabled = false;
  crtInfo->compiledInfo = NULL;
  ssSetUserData(S,(void *)(crtInfo));  /* register the chart instance with simstruct */
  init_dsm_address_info(chartInstance);
  init_simulink_io_address(chartInstance);
  if (!sim_mode_is_rtw_gen(S)) {
  }

  sf_opaque_init_subchart_simstructs(chartInstance->chartInfo.chartInstance);
  chart_debug_initialization(S,1);
}
static void sf_opaque_initialize_c37_Demo_EP_IdleRandMerg(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc37_Demo_EP_IdleRandMergInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c37_Demo_EP_IdleRandMerg
    ((SFc37_Demo_EP_IdleRandMergInstanceStruct*) chartInstanceVar);
  initialize_c37_Demo_EP_IdleRandMerg((SFc37_Demo_EP_IdleRandMergInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c10_hybridSysSim(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc10_hybridSysSimInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c10_hybridSysSim((SFc10_hybridSysSimInstanceStruct*)
    chartInstanceVar);
  initialize_c10_hybridSysSim((SFc10_hybridSysSimInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c19_HIL_model_overall(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc19_HIL_model_overallInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c19_HIL_model_overall((SFc19_HIL_model_overallInstanceStruct*)
    chartInstanceVar);
  initialize_c19_HIL_model_overall((SFc19_HIL_model_overallInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c9_Model_justmodel(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc9_Model_justmodelInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c9_Model_justmodel((SFc9_Model_justmodelInstanceStruct*)
    chartInstanceVar);
  initialize_c9_Model_justmodel((SFc9_Model_justmodelInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c9_QPSK_Transmit_v12d(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc9_QPSK_Transmit_v12dInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c9_QPSK_Transmit_v12d((SFc9_QPSK_Transmit_v12dInstanceStruct*)
    chartInstanceVar);
  initialize_c9_QPSK_Transmit_v12d((SFc9_QPSK_Transmit_v12dInstanceStruct*)
    chartInstanceVar);
}
Exemple #28
0
static void sf_opaque_initialize_c3_MON_Functional(void *chartInstanceVar)
{
  chart_debug_initialization(((SFc3_MON_FunctionalInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c3_MON_Functional((SFc3_MON_FunctionalInstanceStruct*)
    chartInstanceVar);
  initialize_c3_MON_Functional((SFc3_MON_FunctionalInstanceStruct*)
    chartInstanceVar);
}
static void sf_opaque_initialize_c1_QPSK_Transmit_v5_w_FIFO(void
  *chartInstanceVar)
{
  chart_debug_initialization(((SFc1_QPSK_Transmit_v5_w_FIFOInstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c1_QPSK_Transmit_v5_w_FIFO
    ((SFc1_QPSK_Transmit_v5_w_FIFOInstanceStruct*) chartInstanceVar);
  initialize_c1_QPSK_Transmit_v5_w_FIFO
    ((SFc1_QPSK_Transmit_v5_w_FIFOInstanceStruct*) chartInstanceVar);
}
static void sf_opaque_initialize_c13_ARP_02_RPSs_Bdr_GK_BIS5(void
  *chartInstanceVar)
{
  chart_debug_initialization(((SFc13_ARP_02_RPSs_Bdr_GK_BIS5InstanceStruct*)
    chartInstanceVar)->S,0);
  initialize_params_c13_ARP_02_RPSs_Bdr_GK_BIS5
    ((SFc13_ARP_02_RPSs_Bdr_GK_BIS5InstanceStruct*) chartInstanceVar);
  initialize_c13_ARP_02_RPSs_Bdr_GK_BIS5
    ((SFc13_ARP_02_RPSs_Bdr_GK_BIS5InstanceStruct*) chartInstanceVar);
}