| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
Simulink software returns an instance of this class when an M-file program, e.g., a Level-2 M-file S-function, invokes the Dwork method of a block's run-time object after the model containing the block has been compiled.
None
Name | Description |
|---|---|
| Usage | Usage type of this DWork vector. |
True if this DWork vector is being used to store the values of a block's discrete states. |
Returns a string indicating how this DWork vector is used. Permissible values are:
DWork
DState
Scratch
Mode
string
RW for M-file S-function blocks, RO for other blocks.
True if this DWork vector is being used to store the values of a block's discrete states.
Boolean
RW for M-file S-function blocks, RO for other blocks.
![]() | Simulink.Annotation | Simulink.BlockCompInputPortData | ![]() |

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