Matlab coder report (project code generation readiness)

조회 수: 2 (최근 30일)
Hae-Jong
Hae-Jong 2014년 2월 21일
댓글: Ketan 2014년 2월 22일
How can I include functions in the current directory to the project? It seems to include all the files in the Matlab path.
  댓글 수: 1
Ketan
Ketan 2014년 2월 22일
Hi Hae-Jong,
I am not too sure what you are asking. Therefore some more detail on what you are trying to do and what you have already tried may be helpful in better answering this question. Here is some info on adding multiple files to a coder project.
For a coder project the workflow is to specify an entry-point function and all dependent files are automatically included. You can add an entry-point file by selecting "add files" in the Coder UI. This is located in the "Overview" tab in the "Entry-Point Files" section. Note that any dependent files not in the current working directory need to be on the MATLAB path.
If you would like to generate code for multiple entry-points (in your case multiple files in the current directory) just add them as individual entry-point files. After pressing "add files" you can select multiple files using the file browser.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by