When I am creating a project manually in Polyspace and I need to add custom include files, I select the folder containing include files and select option 'Add Include Folder'. In this case what all types of header files are included?
2 ビュー (過去 30 日間)
古いコメントを表示

What are the types of header files added into the include folder as this selected folder contains .h, .he, hdb, .hed files
0 件のコメント
回答 (1 件)
Alexandre De Barros
2016 年 10 月 28 日
Hi,
When you add a new include folder, you're just telling Polyspace to take a look at this folder when it looks for files included by your source files, typically with a line like:
#include "my_header.h"
So if your file my_header.h is located in this folder, Polyspace will find it and will include it into the source file (during the preprocessing phase, to be precise) because of the #include directive.
Now, if you include a file named my_header.hpp or another extension, Polyspace will include it too because you asked this file to be included. No assumptions are made on the header file extension.
Regards,
Alex
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polyspace Code Prover についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!