Loads a model on the target.
Namespace:
Quanser.TargetsAssembly: Quanser.Targets (in Quanser.Targets.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub LoadModel ( _ name As String, _ arguments As String _ ) |
C# |
---|
public void LoadModel( string name, string arguments ) |
Visual C++ |
---|
public: void LoadModel( String^ name, String^ arguments ) |
JavaScript |
---|
function loadModel(name, arguments); |
Parameters
- name
- Type: System..::.String
The name of the model to load.
- arguments
- Type: System..::.String
The command-line arguments to pass to the model.
Remarks
This method loads the given model on the QUARC Target. The model must already be downloaded to the target. Loading the model involves loading the model into memory and initializing it. The model may also begin running depending on the generator and the arguments.
Models may be passed command-line arguments when they are loaded. These arguments can change various aspects of the model's operation, such as how long the model will run.