| Contents | Index |
void ssSetModelReferenceSampleTimeDisallowInheritance(SimStruct *S)
Use this macro in any callback from mdlInitializeSizes to mdlSetWorkWidths, in order to specify that submodels containing this S-function cannot inherit their sample times from their parent model. You should only use this macro if your S-function inherits its sample time and its output depends on the value of the inherited sample time. See Specifying Model Reference Sample Time Inheritance for more information.
C, C++
See the S-function sfun_frmad.c used in sfcndemo_frame.mdl for an example that uses this function. Running this model requires a DSP System Toolbox license.
ssSetModelReferenceSampleTimeDefaultInheritance, ssSetModelReferenceSampleTimeInheritanceRule

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |