Why is existing mex file getting deleted while compiling the model?
7 ビュー (過去 30 日間)
I am trying to compile a Simulink model with stateflow present inside. Because of statflow I'm getting following error: * _"Make Error" -> Making simulation target "ModelName_sfun",...
This program is blocked by group policy. For more information, contact your system administrator_*
So I old replaced mex file which compiled on old model.
But when I'm updating the model, the mex file is getting deleted, and I'm getting the same above error.
I thought I could compile the model using old mex file. Thank you for your suggestions.
回答 (2 件)
Mark McBroom 2018 年 6 月 8 日
Simulink will generate a new mex file for the stateflow block when it detects a change to the model. This ensures that the mex file is consistent with the stateflow model. You will need to get proper permissions so that MATLAB can write to the current working directory.