Contenuto principale

Generate Structured Text Code by Using the Simulink PLC Coder App

Use the PLC Coder app to generate Structured Text code from Simulink® models, Stateflow® charts, and MATLAB® functions.

This tutorial shows you how to use the Simulink PLC Coder™ app to generate Structured Text code from a Simulink model. In this tutorial, you follow these steps:

  1. Prepare Model for Structured Text Generation — Prepare the Simulink model for code generation.

  2. Generate and Examine Structured Text Code — Generate Structured Text code and examine the generated code.

  3. Import and Verify Structured Text Code — Import the generated Structured Text code into your target IDE.

  4. Deploy Structured Text — Deploy the verified Structured Text code to your target PLC.

See Also

|

Topics