добавлены параметры упп в модель симулинк
This commit is contained in:
@@ -185,8 +185,10 @@ static void mdlInitializeSampleTimes(SimStruct* S)
|
||||
static void mdlTerminate(SimStruct* S)
|
||||
{
|
||||
hmcu.fMCU_Stop = 1;
|
||||
#ifdef RUN_APP_MAIN_FUNC_THREAD
|
||||
ResumeThread(hmcu.hMCUThread);
|
||||
WaitForSingleObject(hmcu.hMCUThread, 10000);
|
||||
#endif
|
||||
SIM_deInitialize_Simulation();
|
||||
mexUnlock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user