Main Content

External functions compatibility for row-major code generation

Diagnostic action for functions that use multidimensional arrays and do not specify array layout

Model Configuration Pane: Code Generation / Interface

Description

The External functions compatibility for row-major code generation parameter specifies the diagnostic action that the code generator applies when the code generator encounters a function that uses multidimensional arrays and does not specify an array layout.

Dependency

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

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

Settings

error (default) | warning | none
none

Produces code without generating an error or warning.

warning

Builds the model and displays a warning message.

error

Terminates the build and displays an error message.

Recommended Settings

ApplicationSetting
Debuggingwarning
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

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

Version History

Introduced in R2018b