주요 콘텐츠

Bug Finder Analysis with MATLAB Scripts

Check C/C++ code for defects using MATLAB® M-files

If you use MATLAB as a scripting language, you can run Polyspace® from MATLAB. To begin, perform a one-time setup to link Polyspace and MATLAB. See Integrate Polyspace with MATLAB and Simulink.

After the setup, you can run all Polyspace functions from MATLAB. In particular, you can setup a polyspace.Project object to run a Polyspace analysis and read the results into a MATLAB table.

클래스

polyspace.Project Run Polyspace analysis on C and C++ code and read results
polyspace.GenericTargetOptionsCreate a generic target configuration
polyspace.DefectsOptionsCreate custom list of defects to check
polyspace.CodingRulesOptionsCreate custom list of coding rules to check
polyspace.BugFinderResultsRead Polyspace Bug Finder results from MATLAB

속성

polyspace.Project.Configuration PropertiesCustomize Polyspace analysis of handwritten code with options object properties

함수

polyspacesetupIntegrate Polyspace installation with Simulink
polyspacerootGet Polyspace installation folder
polyspaceBugFinderRun Polyspace Bug Finder analysis from MATLAB
polyspaceConfigureCreate Polyspace project from your build system at the MATLAB command line
polyspace_reportGenerate reports from Polyspace analysis results

도움말 항목