How to stop dead code elimination when using Simulink to PLC coder?

8 Ansichten (letzte 30 Tage)
Sophia Mortensen
Sophia Mortensen am 13 Nov. 2018
Kommentiert: Akshay Khadse am 14 Dez. 2018
For instance I have this Simulink model. When I generate PLC code, it leaves out the part of the model for which the conditions in the switches aren't true. How do I get it to generate code for the entire model regardless the choices of the switches?
  1 Kommentar
Akshay Khadse
Akshay Khadse am 14 Dez. 2018
Please provide the following information so that the community members can better understand the issue:
  1. The Target IDE for which you are trying to generate the PLC Code.
  2. Please confirm if the Simulink model has any unit delay blocks.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink PLC Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by