ssGetDWorkRTWIdentifierMustResolveToSignalObject
Get a flag indicating if a DWork vector resolves to a
Simulink.Signal object
Syntax
uint_T ssGetDWorkRTWIdentifierMustResolveToSignalObject(SimStruct *S, int_T vector)
Arguments
SSimStruct that represents an S-Function block.
vectorIndex of the work vector, where the index is one of
0,1,2,...ssGetNumDWork(S)-1.
Returns
A uint_T flag with the value of 0,
1, or 2.
Description
Use this function to determine if the DWork vector specified by
vector resolves to a Simulink.Signal object.
The output value indicates the following.
0indicates the Simulink® engine tries to resolve the DWork vector to aSimulink.Signalobject. In this mode, the engine only tries to resolve the DWork vector to aSimulink.Signalobject 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 toExplicit only, the engine interprets a flag of0as it would a flag of2. See the Signal resolution reference page in Simulink Graphical User Interface for more information on implicit signal resolution.1declares that the DWork vector must resolve to aSimulink.Signalobject. The engine invokes an error if it cannot resolve the DWork vector to aSimulink.Signalobject.2indicates the engine does not try to resolve the DWork vector to aSimulink.Signalobject.
Languages
C, C++
Version History
Introduced in R2007b