Source block specifies -1 sample time
Description
Select the diagnostic action to take if a source block (such as a Sine Wave block) specifies a sample time of -1.
Category: Diagnostics
Settings
Default:
                warning
noneSimulink® software takes no action.
warningSimulink software displays a warning.
errorSimulink software terminates the simulation and displays an error message.
Tips
The Random Source block does not obey this parameter. If its Sample time parameter is set to -1, the Random Source block inherits its sample time from its output port and never produces warnings or errors.
Some Communications Toolbox™ blocks internally inherit sample times, which can be a useful and valid modeling technique. Set this parameter to
nonefor these types of models.
Command-Line Information
Parameter:
                        InheritedTsInSrcMsg | 
Value:
                    'none' | 'warning' |
                        'error' | 
Default:
                    'warning' | 
Recommended Settings
| Application | Setting | 
|---|---|
| Debugging | No impact | 
| Traceability | No impact | 
| Efficiency | No impact | 
| Safety precaution | error |