Main Content

Structured Text Code Generation for Simulink Data Dictionary

This example shows how to autogenerate structured text code for a model with a Simulink Data Dictionary Component

Prerequisites

Copy plc_sldd_ex.slx and plc_sldd_ex.sldd to the same folder in your current working directory (CWD)

Open the model

open_system('plc_sldd_ex')