Main Content

Unsupported data logging

Diagnostic action to take when data logging is unsupported

Model Configuration Pane: Diagnostics / Model Referencing

Description

The Unsupported data logging configuration parameter determines the diagnostic action to take when this model contains To Workspace or Scope blocks with data logging enabled. The default action warns you that the software does not support use of these blocks to log data from referenced models.

For information on how to log signals from a reference to this model, see Override Signal Logging Settings.

Set Configuration Parameter for Referenced Model

In a model reference hierarchy, how you open the Configuration Parameters dialog box determines whether you edit the configuration parameter for the top model in the current model hierarchy or the current referenced model.

  • Top model in the current model hierarchy — In the Simulink® Toolstrip, on the Modeling tab, click Model Settings.

  • Current referenced model — In the Simulink Toolstrip, on the Modeling tab, click the Model Settings button arrow. Then, in the Referenced Model section, select Model Settings.

Alternatively, open the referenced model as a top model. Then, in the Simulink Toolstrip, on the Modeling tab, click Model Settings.

Settings

warning (default) | none | error
none

The software takes no action.

warning

The software displays a warning.

error

The software terminates the simulation and displays an error message.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

Parameter: ModelReferenceDataLoggingMessage
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Version History

Introduced before R2006a