Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getAll

Class: cv.cvdatagroup
Package: cv

Get all cvdata objects

Syntax

getAll(cvdg)
getAll(cvdg, simMode)

Description

Get all cvdata objects.

getAll(cvdg) returns all cvdata objects in the cv.cvdatagroup object cvdg.

getAll(cvdg, simMode) returns all cvdata objects in the cv.cvdatagroup object cvdg having the simulation mode simMode.

Input Arguments

expand all

Instance of class cv.cvdatagroup.

Simulation mode associated with the cvdata objects in cvdg. Valid values include the following:

Object SpecificationDescription

'Normal'

Model in Normal simulation mode.

'SIL' (or 'PIL')

Model in Software-in-the-Loop (SIL) or Processor-in-the-Loop (PIL) simulation mode.

'ModelRefSIL' (or 'ModelRefPIL')

Model reference in Software-in-the-Loop (SIL) or Processor-in-the-Loop (PIL) simulation mode.

'ModelRefTopSIL' (or 'ModelRefTopPIL')

Model reference in Software-in-the-Loop (SIL or Processor-in-the-Loop (PIL) simulation mode with code interface set to top model.

Examples

Return all cvdata objects from the specified Simulink® model:

getAll(cvdg, 'slvnvdemo_cv_small_controller');
getAll(cvdg, 'slvnvdemo_cv_small_controller', 'ModelRefSIL');
Was this topic helpful?