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
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