Why does EMLC not generate any logic for MATLAB code in the generated C-File?

조회 수: 1 (최근 30일)
I am trying to generate a C-file from my MATLAB code but it does not show any program logic in the generated C-file.
To reproduce the issue, try to generate code for the attached pti_process.m file with the following command:
emlc -T rtw pti_process1

채택된 답변

MathWorks Support Team
MathWorks Support Team 2011년 4월 8일
The code generated by EMLC may sometimes not contain the program logic if the input properties are not specified explicitly.
To avoid this issue, use the -eg option in EMLC command to define input properties.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by