How to find if the Simulink model is used for code generation
조회 수: 1 (최근 30일)
이전 댓글 표시
Is there a heuristic or certain block parameter configuration that suggests if a Simulink model is used or configured
for code generation?
댓글 수: 0
채택된 답변
Jonas
2021년 10월 13일
System Target File will be 'ert.tlc' if the model is configured for code generation.
strcmp('ert.tlc',get_param('mymodel','SystemTargetFile'))
댓글 수: 0
추가 답변 (1개)
Pranav Verma
2021년 5월 20일
Hi Sohil,
To check if the model will generate a code, you can go to "Generate Code from the Model" section in the documentation.
Thanks
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!