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

조회 수: 1 (최근 30일)
Sophia Mortensen
Sophia Mortensen 2018년 11월 13일
댓글: Akshay Khadse 2018년 12월 14일
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
Akshay Khadse
Akshay Khadse 2018년 12월 14일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink PLC Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by