MATLAB: How to use the “State Control” block in HDL Coder Library

HDL Coder

In the Simulink Documentation
You address the issue of a Synchronous Model. I have the impression that this can be a valuable feature for my models but I do not quite understand what the State Control does actually do.
Is it possible for you to provide an example that illustrates the feature. That would be really helpful.

Best Answer

I suggest you to look at the following documentation page to get more understanding on the block:
For more properties and restriction related to the block follow the page:
The following page consists of an example on how to use the block: