How can I use relative paths in a Polyspace project file?

4 views (last 30 days)
Same question as asked on the forum: question
My 'exclude from main generator' command line is too long when absolute paths are used, as they are the same paths as found in the project file.
Even it I had to do a global replace in an editor to do it that would be fine.
Thanks -- Martin

Answers (1)

Alexandre De Barros
Alexandre De Barros on 17 Oct 2014
Hi Martin!
There is a possible workaround for your question: create a network drive under Windows or a link under Linux that points to your main folder. If the project path is c:\path_A\checkout_component_1\project_workspace, then you create a network drive that points to this folder. You then go to this drive and reload your project. When you will save your project, the PVE will compute the paths relative to your network drive which will make shorter paths.
Moreover, in your message to MATLAB Newsreader, you wrote: "a gui option to exclude all class except the ones listed would probably leader to a shorter command line too". Could you tell me why the "custom" parameter, that allows you to specifiy a class or a list of class, does not fit your need?
Best regards,
Alexandre

Community Treasure Hunt

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

Start Hunting!