How is it possible to deactivate signal logging of referenced models in the InitFcn callback?
While doing this with
>> set_param(bdroot, 'InstrumentedSignals', )
in InitFcn callback in the model callbacks, I see the following error:
Error evaluating 'InitFcn' callback of block_diagram 'modelName'.
Callback string is 'set_param('bdroot', 'InstrumentedSignals', ) '
It is incorrect to modify the model 'modelName' from the InitFcn callback of a different model.