Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Verification and Validation   

Function Reference


Requirements Management InterfaceAccess Requirements Management Interface
Model CoverageConfigure and execute model coverage tests; store and report test results
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
rmidocrenameUpdate model requirements document paths and file names
rminavStart Requirements Management Interface

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 cvtestgroup
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
tableinfoDisplay lookup table coverage information for model object

Model Advisor Customization API

addCheck (ModelAdvisor.FactoryGroup)Add check to folder
addGroup (ModelAdvisor.Group)Add subfolder to folder
addTask (ModelAdvisor.Group)Add task to folder
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.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
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-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS