Fields considered:
-
Remarks:
Stateflow charts are written as SFC or ST code depending on the chosen option. If the option manually is chosen, the code generator will look for a file (in the model path) with the same name as the M-file name and a .plc extension. The contents of the file are included in the generated code. If the file does not exist, a template file will be written. The M-file behavior should be manually implemented in this file using the IEC 61131-3 Structured Text standard. In- and outputs are automatically setup.
>
Stateflow support is described further on its own page on this site.