how to add all source files and include folders having different directories in same project.

6 views (last 30 days)
I have 2 source code folders generated via Targetlink.
All source code files and header files in these two directories have different paths.
here my doubt is how to get required header files and source code from different paths to list options by doing polyspace parsing listoption.txt through self script dynamization.
thanks for continuous support.
please help

Answers (1)

Anirban
Anirban on 14 Sep 2023
I am not sure I understand what you mean by 'doing polyspace parsing listoption.txt through self script dynamization'. What is listoptions.txt in this case?
Can you describe your workflow in more detail? For instance, do you have access to the model and TargetLink, or you just have the code generated with TargetLink?
  2 Comments
basheer
basheer on 15 Sep 2023
I do indeed use listoption.txt for all source files, including directories. then run Polyspace Bugfinder; compilation errors are returned. However, a different script using the same source files and the same model compiles without a hitch.
Anirban
Anirban on 15 Sep 2023
Without knowing more details of the script or the errors that you see, it would be difficult to answer this question. For instance, if you have an error about multiple declaration, you might be mixing headers for different projects. Please contact MathWorks Technical Support for more help with the problem. See Contact Technical Support.

Sign in to comment.

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!