Specify arguments to pass to an external mode interface MEX-file for communicating with executing targets.
Category: Code Generation > Interface
Default: ''
For XCP communication with a TCP/IP transport layer, there are four optional arguments:
Network name of your target processor –– For example,
'localhost'
if the target process is your
development computer or the IP address
'148.27.151.12'
.
Verbosity level –– 0
for no
information or 1
to display detailed information during data transfer.
Port number of TCP/IP server –– An integer value between
256
and 65535
, with a default
of 17725
.
Symbols file name –– File format is PDB for Windows® or ELF for Linux®.
For XCP communication with a serial transport layer, there are four optional arguments:
Verbosity level –– 0
for no
information or 1
for detailed information.
Serial port ID –– On Windows, 'COM1'
or 1 for
COM1
, 'COM2'
or 2 for
COM2
, etc. On Linux, '/dev/ttyS0'
, etc.
Baud –– 1200
, 2400
,
4800
, 9600
,
14400
, 19200
,
38400
, 57600
(default), or
115200
.
Symbols file name –– File format is PDB for Windows or ELF for Linux.
For TCP/IP interfaces, ext_comm
allows three
optional arguments:
Network name of your target processor –– For example,
'myComputer'
or
'148.27.151.12'
.
Verbosity level –– 0
for no
information or 1
to
display detailed information during data transfer.
Port number of TCP/IP server –– An integer value between 256
and
65535
, with a default of
17725
.
For a serial transport, ext_serial_win32_comm
allows
three optional arguments:
Verbosity level –– 0
for no
information or 1
for
detailed information.
Serial port ID –– 1
for COM1
,
etc.
Baud –– 1200
, 2400
, 4800
,
9600
, 14400
,
19200
, 38400
,
57600
(default), or 115200
.
Specify the arguments in the list order. For example, if you want to specify the verbosity level (the second argument), then you must also specify the network name of the target processor (the first argument). You can use white space or commas as argument delimiters.
'148.27.151.12' 1 30000
Selecting parameter External mode enables this parameter.
Parameter: ExtModeMexArgs |
Type: character vector |
Value: valid arguments |
Default: '' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |