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

5 ビュー (過去 30 日間)
basheer
basheer 2023 年 9 月 13 日
コメント済み: Anirban 2023 年 9 月 15 日
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

回答 (1 件)

Anirban
Anirban 2023 年 9 月 14 日
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 件のコメント
basheer
basheer 2023 年 9 月 15 日
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 2023 年 9 月 15 日
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.

サインインしてコメントする。

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by