Polyspace report generator terminates with error:Error using cellfun.Input #2 expected to be a cell array, was struct instead.
Show older comments
After completion of justification of MISRA violation in the Polyspace Bug Finder, when I click on Run Report, Report Generator window opens, I selected all the applicable reports to be generated. It starts and goes till Initialization then ends with error. Below is the log the error report. I think the report generation MATLAB code has a bug which is not taking Input#2 format properly hence the error. Please let me know if anyone has any clue how to fix it.
Initializing... Polyspace Report Generator Generating Report Template : C:\Program Files\MATLAB\R2014b\polyspace\toolbox\psrptgen\templates\bug_finder\BugFinder.rpt Results-dir : D:\users\F63301b\Documents\Polyspace_Workspace\Register_State\Result_Register_State Format : PDF Output-Name : D:\users\F63301b\Documents\Polyspace_Workspace\Register_State\Result_Register_State\Polyspace-Doc\Register_State_BugFinder.pdf Beginning report Processing Summary In component Code Verification Summary : Input #2 expected to be a cell array, was struct instead. In component Chapter/Subsection : Input #2 expected to be a cell array, was struct instead. "chapter" contains no content and will not be inserted into document Error using cellfun Input #2 expected to be a cell array, was struct instead.
Error in CStudioData/GetProjectSummary (line 51)
Error in PolySpaceResultInterface/GetSummary/GetSQOSummary (line 237)
Error in PolySpaceResultInterface/GetSummary (line 11)
Error in RptgenPolyspace/generateSummary (line 18)
Error in RptgenPolyspace.CSummary/execute (line 20)
Error in rptgen.rptcomponent/runComponent (line 36)
Error in rptgen.rpt_section/writeChildren (line 18)
Error in rptgen.cfr_section/execute (line 30)
Error in rptgen.rptcomponent/runComponent (line 36)
Error in rptgen.rpt_section/writeChildren (line 18)
Error in rptgen.coutline/execute (line 19)
Error in polyspace_report (line 172)
MATLAB:cellfun:NotACell
Answers (0)
Categories
Find more on Generate Reports in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!