extmodeParseArgs
Extract values of configuration parameters supported by external mode abstraction layer
Description
extracts the values of the configuration parameters that are supported by the
external mode abstraction layer. The function parses the array of strings passed as
input arguments. The array of strings is from the command-line arguments of the
executable file running on the target hardware.errorCode
= extmodeParseArgs(argCount
, argValues
);
The external mode abstraction layer interprets only two options and passes the
other arguments to rtIOStreamOpen
for the initialization of the
communication driver.
Use this function with other external mode functions to enable communication between Simulink® and the target application during an external mode simulation.
If your target hardware does not support the parsing of command-line arguments,
define the preprocessor macro EXTMODE_DISABLE_ARGS_PROCESSING
.
See information about parsing command-line arguments in Other Platform Abstraction Layer Functionality.
Examples
Set Up External Mode Communication
For a pseudo-code example that shows how you can provide external mode communication by using the function with related functions, see External Mode Abstraction Layer.
Input Arguments
Output Arguments
Version History
Introduced in R2018a