Since Polyspace for R2012a, it is possible to create a new project from a template file.
This tool contains a list of templates that if it fits compiler and target requirements, allow a minimum set of Polyspace options in order to ease at use a compilation phase.
Each proposed template contains options, flag of compilation, headers and/or –post-preprocessing-command that will help to reach end of a compilation phase.
Each template is not exhaustive and may sometimes fail in this quest.
Anyway, it gives interesting information how to handle compilation issues and some tips to bypass it without intrusion (or a few).
List of templates available: iar_stm33, cosmic_stm8, cosmic_ hcs12x, ccsv5_mps430, visual10_x86, qnx63_x86, ecoder_32bitgen, wince5_x86, qnx63_powerpc and boost_gnu
Christian Bard (2021). Polyspace Compiler Templates (https://www.mathworks.com/matlabcentral/fileexchange/35927-polyspace-compiler-templates), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!