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.

get

Class: cv.cvdatagroup
Package: cv

Get cvdata object

Syntax

get(cvdg, model_name)
get(cvdg, model_name, simMode)

Description

Get cvdata object.

get(cvdg, model_name) returns the cvdata object in the cv.cvdatagroup object cvdg that corresponds to the model specified in model_name.

get(cvdg, model_name, simMode) returns the cvdata object in the cv.cvdatagroup object cvdg that corresponds to the model specified in model_name having the simulation mode simMode.

Input Arguments

expand all

Instance of class cv.cvdatagroup.

Model to which the cvdata object in the cv.cvdatagroup object cvdg corresponds.

Simulation mode for the cvdata object in the cv.cvdatagroup object. 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

Get a cvdata object from the specified Simulink® model:

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