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

조회 수: 4 (최근 30일)
Martin Dowie
Martin Dowie 2014년 10월 16일
답변: Alexandre De Barros 2014년 10월 17일
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

답변 (1개)

Alexandre De Barros
Alexandre De Barros 2014년 10월 17일
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

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by