SS_OPTION_ALLOW_PARTIAL_DIMENSIONS_CALL

Allow calls to mdlSetInputPortDimensionInfo and mdlSetOutputPortDimensionInfo with partial dimension information

Description

Indicates the S-function can handle dynamically dimensioned signals. By default, the Simulink® engine calls the mdlSetInputPortDimensionInfo or mdlSetOutputPortDimensionInfo methods if the number of dimensions and size of each dimension for the candidate port are fully known. If SS_OPTION_ALLOW_PARTIAL_DIMENSIONS_CALLS is set, the engine may also call these methods with partial dimension information. For example, the methods may be called when the port width is known, but the actual 2-D dimensions are unknown. See mdlSetDefaultPortDimensionInfo for more information.

Was this topic helpful?