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 Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by