Skip to Main Content Skip to Search
Product Documentation

addInputData - Class: cgv.CGV
Package: cgv

Add input data

Syntax

cgvObj.addInputData(inputName, inputDataFile)

Description

cgvObj.addInputData(inputName, inputDataFile) adds an input data file to cgvObj. cgvObj is a handle to a cgv.CGV object. inputName is a unique identifier, which cgvObj associates with the input data in inputDataFile.

Tips

Input Arguments

inputName

inputName is a unique numeric or character identifier, which is associated with the input data in inputDataFile.

inputDataFile

inputDataFile is an input data file, with or without the .mat extension. cgvObj uses the input data when the model executes during cgv.CGV.run. If the input file is in the working folder, the cgvObj does not require the path. addInputData does not qualify that the contents of inputDataFile relate to the inputs of the model. Data that is not used by the model will not throw a warning or error.

See Also

cgv.CGV.run

How To

  


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