what is simulink coverage? video -凯发k8网页登录
simulink coverage™ performs model and code coverage analysis that measures testing completeness in models and generated code. it applies industry-standard metrics such as decision, condition, modified condition/decision coverage (mc/dc), and relational boundary coverage to assess the effectiveness of simulation testing in models, software-in-the-loop (sil), and processor-in-the-loop (pil). you can use missing coverage data to find gaps in testing, missing requirements, or unintended functionality.
simulink coverage produces interactive reports showing how much of your model, c /c s-functions, matlab® functions, and code generated by embedded coder® has been exercised. you can highlight coverage results in blocks and subsystems to visualize gaps in testing. to assess testing completeness, you can accumulate coverage data from multiple test runs, as well as view coverage achieved through unit and system tests. coverage outcomes can be traced to requirements and tests. you can apply filters to exclude blocks from coverage and justify missing coverage in reports.
simulink coverage helps you find gaps in your testing of simulink models and generated code.
at the end of a simulation run, you can view the coverage results on the model.
the objects in green indicate full coverage, while those in red were not fully covered. for example, this pi controller block in red is missing decision coverage.
you can see more information on missing coverage for each model element using the coverage details pane.
you can click on a model element to view coverage details for that element. here are more details on the coverage results for the pi controller block. you can also see which simulations achieved specific coverage objectives.
you can justify missing coverage to let you focus on the design elements that you currently intend to test.
you can also view coverage results for stateflow state charts and matlab function blocks used in your simulink models.
simulink coverage lets you measure coverage for code generated from simulink models or code within a model. for example, after running in software-in-the-loop mode, you can see coverage results for generated code associated with each element in your model
you can use simulink coverage with other verification tools like simulink test, simulink design verifier, and requirements toolbox to check for unintended behavior, incomplete tests, and incorrect traceability.
once done, you can generate an html report that can be shared with colleagues.
simulink coverage helps you find gaps in your testing, missing requirements, or unintended functionality in your simulink models, stateflow state charts, matlab function blocks, and generated code.
for more information, please visit the simulink coverage product page on mathworks.com and download a trial to check out the reference examples.
featured product
simulink coverage
up next:
related videos:
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 mathworks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- (español)
- (english)
- (english)
欧洲
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
亚太
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)