Skip to Main Content Skip to Search
Product Documentation

run - Class: cgv.CGV
Package: cgv

Execute CGV object

Syntax

result = cgvObj.run()

Description

result = cgvObj.run() executes the model once for each input data that you added to the object. result is a boolean value that indicates whether the run completed without execution error. cgvObj is a handle to a cgv.CGV object.

After each execution of the model, the object captures and writes the following metadata to a file in the output folder:

ErrorDetails — If errors occur, the error information.
status — The execution status.
ver — Version information for MathWorks® products.
hostname — Name of computer.
dateTime — Date and time of execution.
warnings — If warnings occur, the warning messages.
username — Name of user.
runtime — The amount of time that lapsed for the execution.

Tips

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