Borrar filtros
Borrar filtros

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

9 visualizaciones (últimos 30 días)
Martin Dowie
Martin Dowie el 16 de Oct. de 2014
Respondida: Alexandre De Barros el 17 de Oct. de 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

Respuestas (1)

Alexandre De Barros
Alexandre De Barros el 17 de Oct. de 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!

Translated by