Skip to Main Content Skip to Search
Product Documentation

Function Reference


Requirements Management InterfaceManage links between requirements documents and Simulink objects
Model CoverageConfigure and execute model coverage tests; store and report test results
Component Analysis and VerificationDefine workflows for testing models, subsystems, and atomic subcharts
Model CheckingCheck systems by running Model Advisor checks; view results in Command Window, web browser, or Model Advisor window
Model Advisor Customization APICustomize the Model Advisor tree; create new checks and folders
Model Advisor Result Template APITemplate for formatting Model Advisor results
Model Advisor Formatting APIFormat Model Advisor outputs

Requirements Management Interface

rmiInteract programmatically with Requirements Management Interface
rmi.doorssyncSynchronize model with DOORS surrogate module
rmi.objinfoReturn navigation information for model object
rmidata.defaultSpecify default requirements storage location for new models
rmidata.exportMove requirements information to external file
rmidata.mapAssociate external requirements information with model
rmidocrenameUpdate model requirements document paths and file names
rmiobjnavigateNavigate to model objects using unique Requirements Management Interface identifiers
rmiref.insertRefsInsert links to models into requirements documents
rmiref.removeRefsRemove links to models from requirements documents
rmitagManage user tags for requirements links
RptgenRMI.doorsAttribsIBM Rational DOORS attributes in requirements report

Model Coverage

add (cv.cvtestgroup)Add cvtest objects
allNames (cv.cvdatagroup)Get names of all models associated with cvdata objects in cv.cvdatagroup
allNames (cv.cvtestgroup)Get names of all models associated with cvtest objects in cv.cvtestgroup
complexityinfoCyclomatic complexity coverage information
conditioninfoCollect condition coverage information for model object
cv.cvdatagroupCreate collection of cvdata objects for model reference hierarchy
cv.cvtestgroupCreate collection of cvtest objects for model reference hierarchy
cvexitExit model coverage environment
cvhtmlProduce HTML report from model coverage objects
cvloadLoad coverage tests and stored results into memory
cvmodelviewDisplay model coverage results with model coloring
cvsaveSave coverage tests and results to file
cvsimSimulate and return model coverage results for test objects
cvsimrefSimulate and return model coverage results for referenced models
cvtestCreate model coverage test specification object
decisioninfoDisplay decision coverage information for model object
get (cv.cvdatagroup)Get cvdata object
get (cv.cvtestgroup)Get cvtest objects
getAll (cv.cvdatagroup)Get all cvdata objects
getCoverageInfoCoverage information for Simulink Design Verifier blocks
mcdcinfoCollect modified condition/decision coverage information for model object
sigrangeinfoCollect signal range coverage information for model object
sigsizeinfoCollect signal size coverage information for model object
tableinfoDisplay lookup table coverage information for model object

Component Analysis and Verification

Model Preparation
Test Execution
Analysis Results

Model Preparation

slvnvextractExtract subsystem or subchart contents into new model for analysis
slvnvlogsignalsLog simulation input port values

Test Execution

slvnvruncgvtestInvoke Code Generation Verification (CGV) API and execute model
slvnvruntestSimulate model using input data
slvnvruntestoptsGenerate simulation or execution options for slvnvruntest or slvnvruncgvtest

Analysis Results

slvnvharnessoptsGenerate default options for slvnvmakeharness
slvnvmakeharnessGenerate Simulink Verification and Validation harness model
slvnvmergedataMerge test case data
slvnvmergeharnessMerge test cases and initializations into one model

Model Checking

ModelAdvisor.lookupCheckIDLook up Model Advisor check ID
ModelAdvisor.runRun Model Advisor checks on systems
ModelAdvisor.summaryReportOpen Model Advisor Command-Line Summary report
viewView Model Advisor run results for checks
viewReportView Model Advisor run results for systems

Model Advisor Customization API

addCheck (ModelAdvisor.FactoryGroup)Add check to folder
addGroup (ModelAdvisor.Group)Add subfolder to folder
addProcedure (ModelAdvisor.Group)Add procedure to folder
addProcedure (ModelAdvisor.Procedure)Add subprocedure to procedure
addTask (ModelAdvisor.Group)Add task to folder
addTask (ModelAdvisor.Procedure)Add task to procedure
getID (ModelAdvisor.Check)Return check identifier
ModelAdvisor.ActionAdd actions to custom checks
ModelAdvisor.CheckCreate custom checks
ModelAdvisor.FactoryGroupDefine subfolder in By Task folder
ModelAdvisor.GroupDefine custom folder
ModelAdvisor.InputParameterAdd input parameters to custom checks
ModelAdvisor.ListViewParameterAdd list view parameters to custom checks
ModelAdvisor.ProcedureDefine custom procedures
ModelAdvisor.RootIdentify root node
ModelAdvisor.TaskDefine custom tasks
publish (ModelAdvisor.Root)Publish object in Model Advisor root
register (ModelAdvisor.Root)Register object in Model Advisor root
setAction (ModelAdvisor.Check)Specify action for check
setCallbackFcn (ModelAdvisor.Action)Specify action callback function
setCallbackFcn (ModelAdvisor.Check)Specify callback function for check
setCheck (ModelAdvisor.Task)Specify check used in task
setColSpan (ModelAdvisor.InputParameter)Specify number of columns for input parameter
setInputParameters (ModelAdvisor.Check)Specify input parameters for check
setInputParametersLayoutGrid (ModelAdvisor.Check)Specify layout grid for input parameters
setRowSpan (ModelAdvisor.InputParameter)Specify rows for input parameter

Model Advisor Result Template API

addRow (ModelAdvisor.FormatTemplate)Add row to table
ModelAdvisor.FormatTemplateConstruct template object for formatting Model Advisor analysis results
setCheckText (ModelAdvisor.FormatTemplate)Add description of check to result
setColTitles (ModelAdvisor.FormatTemplate)Add column titles to table
setInformation (ModelAdvisor.FormatTemplate)Add description of subcheck to result
setListObj (ModelAdvisor.FormatTemplate)Add list of hyperlinks to model objects
setRecAction (ModelAdvisor.FormatTemplate)Add Recommended Action section and text
setRefLink (ModelAdvisor.FormatTemplate)Add See Also section and links
setSubBar (ModelAdvisor.FormatTemplate)Add line between subcheck results
setSubResultStatus (ModelAdvisor.FormatTemplate)Add status to check or subcheck result
setSubResultStatusText (ModelAdvisor.FormatTemplate)Add text below status in result
setSubTitle (ModelAdvisor.FormatTemplate)Add title for subcheck in result
setTableInfo (ModelAdvisor.FormatTemplate)Add data to table
setTableTitle (ModelAdvisor.FormatTemplate)Add title to table

Model Advisor Formatting API

addItem (ModelAdvisor.List)Add item to list
addItem (ModelAdvisor.Paragraph)Add item to paragraph
getEntry (ModelAdvisor.Table)Get table cell contents
ModelAdvisor.ImageInclude image in Model Advisor output
ModelAdvisor.LineBreakInsert line break
ModelAdvisor.ListCreate list class
ModelAdvisor.ParagraphCreate and format paragraph
ModelAdvisor.TableCreate table
ModelAdvisor.TextCreate Model Advisor text output
setAlign (ModelAdvisor.Paragraph)Specify paragraph alignment
setBold (ModelAdvisor.Text)Specify bold text
setColHeading (ModelAdvisor.Table)Specify table column title
setColHeadingAlign (ModelAdvisor.Table)Specify column title alignment
setColor (ModelAdvisor.Text)Specify text color
setColWidth (ModelAdvisor.Table)Specify column widths
setEntries (ModelAdvisor.Table)Set contents of table
setEntry (ModelAdvisor.Table)Add cell to table
setEntryAlign (ModelAdvisor.Table)Specify table cell alignment
setHeading (ModelAdvisor.Table)Specify table title
setHeadingAlign (ModelAdvisor.Table)Specify table title alignment
setHyperlink (ModelAdvisor.Image)Specify hyperlink location
setHyperlink (ModelAdvisor.Text)Specify hyperlinked text
setImageSource (ModelAdvisor.Image)Specify image location
setItalic (ModelAdvisor.Text)Italicize text
setRetainSpaceReturn (ModelAdvisor.Text)Retain spacing and returns in text
setRowHeading (ModelAdvisor.Table)Specify table row title
setRowHeadingAlign (ModelAdvisor.Table)Specify table row title alignment
setSubscript (ModelAdvisor.Text)Specify subscripted text
setSuperscript (ModelAdvisor.Text)Specify superscripted text
setType (ModelAdvisor.List)Specify list type
setUnderlined (ModelAdvisor.Text)Underline text
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS