Matlab coder report (project code generation readiness)

2 views (last 30 days)
Hae-Jong
Hae-Jong on 21 Feb 2014
Commented: Ketan on 22 Feb 2014
How can I include functions in the current directory to the project? It seems to include all the files in the Matlab path.
  1 Comment
Ketan
Ketan on 22 Feb 2014
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by