Hello Matlab Community,
I have been trying to disable all the signals in my simulink model except for a dedicated library which was created to centralize the signal logging in our project.
Currently there are more members in the project who abuse the model by doing signal logs everywhere instead of respecting the centralized library.
For this i have been searching for a solution and i came across this below link where we can disable the signals.
But the catch is the documentation is not perfect:
The get_param and set_param uses datalogging property only for scopes, toworkspace. Apart from these listed properties others are not available to modify or disable logging.
But as you know we can log wherever we want in simulink and next to whichever block we want.
When i try this by modifying the exception to skip library. it dosent work where it is logged else where except the scopes or to workspace.
Even in the documentaiton of dataLogging property it is not clearly mentioned that where this properties might take in to effect.
Do any of you have any idea of any other different property which can be used to disable the signal logging using a script or any other method?
The idea is to use this at the beginning of the save function to disable all the logging except leaving the centralized library logged as it is.