block makecfg executed only once
1 view (last 30 days)
myblock_makecfg.m script is executed only once when the block "myblock" is added to a model.
Added source file and compiler flags set by this myblock_makecfg.m script depends on block & models parameters.However if I update the block parameters, that script myblock_makecfg.m is not executed in the build process, except if I delete the .slxc file generated.
How could I force myblock_makecfg.m to execute at each build ?