Opens an instance used to get the model output.
Namespace:
Quanser.TargetsAssembly: Quanser.Targets (in Quanser.Targets.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function OpenModelOutput ( _ model As String _ ) As Target..::.ModelOutput |
C# |
---|
public Target..::.ModelOutput OpenModelOutput( string model ) |
Visual C++ |
---|
public: Target..::.ModelOutput^ OpenModelOutput( String^ model ) |
JavaScript |
---|
function openModelOutput(model); |
Parameters
- model
- Type: System..::.String
The name of the model.
Return Value
Returns a Target..::.ModelOutput instance that may be used to get the model output.Remarks
This method returns a Target..::.ModelOutput instance used to track model events and model output i.e. the text written by the model to stdout and stderr. This method should be invoked with the using statement so that the Target..::.ModelOutput instance is disposed when it is no longer needed.
To get the output for a particular model, specify the model name. To get the output for any model, pass "*" as the model name.