| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop |
| Contents | Index |
| Learn more about Real-Time Workshop |
For certain block types, the Real-Time Workshop product lets you control how block states in your model are stored and represented in the generated code. Using the State Attributes tab of a block dialog box, you can:
Control whether or not states declared in generated code are interfaceable (visible) to externally written code. You can also specify that states be stored in locations declared by externally written code.
Assign symbolic names to block states in generated code.
![]() | Block State Storage and Interfacing Considerations | Block State Storage | ![]() |

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 |