| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink Design Verifier |
| Contents | Index |
| Learn more about Simulink Design Verifier |
[status, reportFilePath]
= sldvreport(sldvDataFile)
[status, reportFilePath]
= sldvreport(sldvDataFile, {reportOption1, reportOption2,
...})
[status, reportFilePath]
= sldvreport(sldvDataFile, {reportOption1, reportOption2,
...}, reportFilePath, showUI)
[status, reportFilePath] = sldvreport(sldvDataFile) generates a complete HTML report from the data in sldvDataFile. status returns true if sldvreport created the report successfully. reportFilePath contains the actual name of the HTML report created.
[status, reportFilePath] = sldvreport(sldvDataFile, {reportOption1, reportOption2, ...}) generates a report from sldvDataFile based on the specified options. options is a cell array of strings.
[status, reportFilePath] = sldvreport(sldvDataFile, {reportOption1, reportOption2, ...}, reportFilePath, showUI) generates a report and saves it in the location reportFilePath.
sldvDataFile |
Name of the data file that contains the analysis results Default: '' | ||||||||||
options |
Cell array of strings that specify options for the report:
Default: {} | ||||||||||
reportFilePath |
The path and file name for the generated HTML report Default: '' | ||||||||||
showUI |
Logical value indicating where to display messages during analysis
|
Analyze the model and create the report using sldvreport:
opts = sldvoptions; % Create options structure
opts.Mode = 'TestGeneration'; % Do test-gen analysis
opts.SaveReport = 'off'; % Don't save HTML report
open_system 'sldvdemo_cruise_control'; % Open the model
[ status, files ] = sldvrun('sldvdemo_cruise_control', opts); %Analyze model
[ status, reportFilePath] = sldvreport(files.DataFile,...
{'objectives', 'objects', 'testcases'} ); % Create reportThe Simulink Design Verifier software can create an HTML report after analyzing a model. In the Design Verifier category of the Configuration Parameters dialog box, in the Report pane, select Generate report of the results.
![]() | sldv.prove | sldvrun | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |