I want to turn on/off the parameter check model before generating code (shown below) through Matlab script. how can I achieve this? I am not finding the parameter name for that property.Any kind of help is appreciated.

Usually when I want to change a model parameter name I use this code. Ex: want to set the Signal Range Checking parameter to warning.
set_param(test.mdl, 'SignalRangeChecking','warning');
So is there a property for check model before generating the code?