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

4 Ansichten (letzte 30 Tage)
Martin Dowie
Martin Dowie am 16 Okt. 2014
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

Antworten (1)

Alexandre De Barros
Alexandre De Barros am 17 Okt. 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

Kategorien

Mehr zu Introduction to Installation and Licensing 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!

Translated by