.xlsx and .xml file input to polyspace bug finder

24 views (last 30 days)
I am working on process advisor project.
Description: I want to use the polyspace bug finder two times to perform two different tasks using a built-in task for process advisor.
1) In the first task, I want to use the bug finder only for the defect analysis. I already have the defect list in .m and .xlsx files. I tried giving an argument for in the process model to take this .xlsx file as an input but it is not working.
2) In the second task, I want to use the bug finder only for code compliance according to Misra C 2012. For this task, I also have a .xml file. I tried the same thing but had no success.
One more issue is that, playspace tasks in process advisor are creating a playspace project file (pslink_config -> artifect_config.psprj) in code folded, how to change this to _cache folder in project root.
Is it possbile to give ,xlsx file as input to polyspace bug finder and specially in process advisor?

Answers (1)

KALASH
KALASH on 8 Apr 2024 at 1:34
Hi Dhruvilkumar,
Unfortunately, .xml and .xlsx format files are not supported as input files in the Polyspace Bug Finder. You will need to write a script to parse the excel and xml file to generate source code in suitable languages such as C/C++ or ADA which are the supported formats in Polyspace.
For more information on Polyspace Bug Finder refer to the following links:
Hope this helps!
  1 Comment
Dhruvilkumar Chavada
Dhruvilkumar Chavada on 8 Apr 2024 at 6:16
Sorry for ambiguity. I have setting saved in excel file for defect analysis and .xml for code standard analysis.
This files have settings like, which defect is activated and which what code derivatives and requirement according to MISRA C 2012.
I want to use this files and generate polyspace project configuration file and that i want to use as input to process advisor tasks.

Sign in to comment.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!