This enhancement has been incorporated in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
Information about the S-function option SS_OPTION_SUPPORTS_ALIAS_DATA_TYPES is missing from the Simulink documentation. Here is additional information about this option:
Use the SS_OPTION_SUPPORTS_ALIAS_DATA_TYPES option with ssSetOptions to specify how the S-function handles signals whose data types are aliases (see Simulink.Aliastype in the Simulink Reference for more information about data type aliases). If this option is set and the S-function's inputs and outputs use data type aliases, SimStruct macros such as ssGetInputPortDataType and ssGetOutputPortDataType return the data type IDs of those aliases. However, if this option is not set, the SimStruct macros return the data type IDs associated with the equivalent built-in data types instead.
Best Answer