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?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen

What are the types of header files added into the include folder as this selected folder contains .h, .he, hdb, .hed files
0 Kommentare
Antworten (1)
Alexandre De Barros
am 28 Okt. 2016
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 Kommentare
Siehe auch
Kategorien
Mehr zu Generate Report finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!