if (model != NULL)
{
if (ac_adm_write(model, "output.adm"))
printf("Model written to output.adm\n");
else
printf("Model could not be written.\n");
}
Asol_Initialize();
Asol_Terminate();
ac_terminate();
return;
}
输出为
Environment variable, MDI_AVIEW_MESSAGES, not defined
Unable to open message file: "". Check protection or existence of the file.
Model written to output.adm
PROGRAM FAULT
Demand Load: Unknown error number
Press any key to continue