How to handle absolute paths in Polyspace option files?
Show older comments
I'm trying to setup Polyspace as You Code in Visual Studio Code. I'm using an options file for project settings.
It seems only possible to set include paths as absolute paths. This isn't practical with version control, because the workspace directory can vary. Manual editing of the paths at each checkout would be required. A similar problem regarding the project file was addressed here: Can the Polyspace project configuration file use relative instead of absolute path names? - MATLAB Answers - MATLAB Central. For the project file this is not such a huge problem (but still inconvenient) because the paths are adapted automatically by the Bug Finder. Polyspace as You Code doesn't seem to do this.
How are you supposed to use Polyspace as You Code with version control?
Are there options to use relative paths to the workspace directory or use some kind of placeholder or environment variables in the path?
Accepted Answer
More Answers (0)
Categories
Find more on Run Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!