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.

allNames

Class: cv.cvdatagroup
Package: cv

Get names of all models associated with cvdata objects in cv.cvdatagroup

Syntax

models = allNames(cvdg)
models = allNames(cvdg, simMode)

Description

Get names of all models associated with cvdata objects in cv.cvdatagroup.

models = allNames(cvdg) returns a cell array of character vectors identifying all model names associated with the cvdata objects in cvdg, an instantiation of the cv.cvdatagroup class.

models = allNames(cvdg, simMode) returns a cell array of character vectors identifying all model names having the simulation mode simMode associated with the cvdata objects in cvdg, an instantiation of the cv.cvdatagroup class.

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.

Output Arguments

expand all

All model names associated with the cvdata objects in cvdg.

Examples

Add three cvdata objects to cvdg and return a cell array of model names:

a = cvdata;
b = cvdata;
c = cvdata;
cvdg = cv.cvdatagroup;
add (cvdg, a, b, c);
model_names = allNames(cvdg);
model_names_sim_mode = allnames(cvdg, 'ModelRefSIL')
Was this topic helpful?