Configures a model to load when the target is booted.
Namespace:
Quanser.Targets
Assembly:
Quanser.Targets (in Quanser.Targets.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub LoadModelAtBoot ( _ name As String, _ arguments As String _ ) |
C# |
---|
public void LoadModelAtBoot( string name, string arguments ) |
Visual C++ |
---|
public: void LoadModelAtBoot( String^ name, String^ arguments ) |
JavaScript |
---|
function loadModelAtBoot(name, arguments); |
Parameters
- name
- Type: System..::.String
The name of the model to load at boot time.
- arguments
- Type: System..::.String
The command-line arguments to pass to the model when it is loaded.
Remarks
This method configures the model to load whenever the QUARC Target is booted. As with the LoadModel(String, String) method, the model is loaded and initialized and may also begin running depending on the generator and arguments. The -w option is not typically specified in the model arguments because that would cause the model to wait for the user to connect via Simulink to start it running.