이 페이지의 내용은 이전 릴리스에 관한 것입니다. 해당 영문 페이지는 최신 릴리스에서 제거되었습니다.
Bug Finder Analysis of Generated Code Examples
Run a Polyspace analysis at various points in the code generation workflow to detect bugs and other issues:
Before code generation: Analyze custom code in blocks such as an S Function block, a C Caller block, a Stateflow® chart, or the C Function block.
After code generation:Run Polyspace directly from Simulink after code generation. Package the generated code and Polyspace options to another machine for Polyspace analysis. Analyze code generated from Simulink models from an earlier release.
These examples show how to analyze the generated code at various stages.
도움말 항목
- Run Polyspace Analysis on Code Generated from Simulink Model
Tutorial showing Polyspace analysis of generated code from within Simulink.
- Run Polyspace on C/C++ Code Generated from MATLAB Code
Run Polyspace on generated code and check for run-time errors.
- Fix Model Design Issues Found as Run-time Errors and Coding Rule Violations in Generated Code
Trace back from code to model and find design issues.
- Run Polyspace Analysis on S-Function Code
Tutorial showing Polyspace analysis of S-function code from within Simulink.
- Run Polyspace Analysis on Custom Code in C Caller Blocks and Stateflow Charts
Tutorial showing Polyspace analysis of custom code in Simulink model.
- Run Polyspace on Code Generated by Using Previous Releases of Simulink
Analyze C/C++ code generated by using previous releases of Simulink with newer releases of Polyspace.
- Run Polyspace Analysis on Custom Code in C Function Block
Tutorial showing Polyspace analysis of custom code in C Function block in Simulink.