| Contents | Index |
uint_T ssGetDWorkRTWIdentifierMustResolveToSignalObject(SimStruct *S, int_T vector)
SimStruct representing an S-Function block.
Index of the work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S)-1.
A uint_T flag with the value of 0, 1, or 2.
Use this function to determine if the DWork vector specified by vector resolves to a Simulink.Signal object. The output value indicates the following.
0 indicates the Simulink engine tries to resolve the DWork vector to a Simulink.Signal object. In this mode, the engine only tries to resolve the DWork vector to a Simulink.Signal object if implicit signal resolution is enabled. The Data Validity parameter Signal resolution on the Diagnostics pane of the Configuration Parameters dialog box controls implicit signal resolution. When this option is set to Explicit only, the engine interprets a flag of 0 as it would a flag of 2. See the Signal resolution reference page in Simulink Graphical User Interface for more information on implicit signal resolution.
1 declares that the DWork vector must resolve to a Simulink.Signal object. The engine invokes an error if it cannot resolve the DWork vector to a Simulink.Signal object.
2 indicates the engine does not try to resolve the DWork vector to a Simulink.Signal object.
C, C++
ssSetDWorkRTWIdentifierMustResolveToSignalObject

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 |