Main Content

External functions compatibility for row-major code generation

Description

Select the diagnostic action if Simulink® encounters a function that has no specified array layout.

Category: Code Generation > Interface

Settings

Default: error

none

The code generator produces code without generating an error or warning.

warning

The code generator builds the model and displays a warning message.

error

The code generator terminates the build and displays an error message.

Dependencies

To enable this parameter, set parameter Array layout to Row-major.

This parameter works only if your S-function or custom C function has a multidimensional array.

Command-Line Information

Parameter: UnsupportedSFcnMsg
Type: character vector
Value: 'none' | 'warning' | 'error'
Default: 'error'

Recommended Settings

ApplicationSetting
Debuggingwarning
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Related Topics