This example shows how to autogenerate structured text code for a model with a Simulink Data Dictionary Component
Copy plc_sldd_ex.slx and plc_sldd_ex.sldd to the same folder in your current working directory (CWD)
open_system('plc_sldd_ex')
You have a modified version of this example. Do you want to open this example with your edits?