Is exist any way for generate include and source files from Simulink model in different folders?
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear collegaus! Is exist any way for generate include and source files from Simulink model in different folders? For example: generating include files to 'MyProj/include' and source files to 'MyProj/src'.
댓글 수: 0
답변 (1개)
Archit Dhanani
2019년 8월 26일
Hi Marat,
Unfortunately, there is no direct way of doing this. You will have to write a custom TLC file to control this. Here is one of the earlier post I found asking the same question:
You could use the function LibSetSourceFileOutputDirectory to specify the path for the source code.
Here are some of the other functions you use to customize the code:
https://www.mathworks.com/help/rtw/tlc/code-configuration-functions.html?searchHighlight=LibSetSourceFileOutputDirectory&s_tid=doc_srchtitle#responsive_offcanvas
Let us know if you have any other questions.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!