Downloads a model file to the QUARC Target.
Namespace:
Quanser.Targets
Assembly:
Quanser.Targets (in Quanser.Targets.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function DownloadModelFile ( _
generator As String, _
path As String _
) As Integer |
C# |
---|
public int DownloadModelFile(
string generator,
string path
) |
Visual C++ |
---|
public:
int DownloadModelFile(
String^ generator,
String^ path
) |
JavaScript |
---|
function downloadModelFile(generator, path); |
Parameters
- generator
- Type: System..::.String
The name of the program which generated the model code e.g., "simulink".
- path
- Type: System..::.String
The path to the model on the file system.
Return Value
Returns the number of bytes of code downloaded. A negative error code is returned
in the event of an error.
Remarks
See Also