Main Content

createPortConfigureFile

Generate configuration file for XIL ports object

Since R2021b

Description

example

slrealtime.createPortConfigureFile(xmlFilename,ipAddress,appFilepath) generates an XML file that configures a XIL MAPort, ECUMPort, and ECUCPort object for third-party software, such as ECU-TEST.

Examples

collapse all

To generate a ports object configuration for third-party software, such as ECU-TEST, use the createPortConfigureFile function.

This function generates an XML file myConfigureFile.xml that configures a ports object (for third-party software, such as ECU-TEST) for a target computer at IP address 10.10.10.15 and a real-time application myModel.

slrealtime.createPortConfigureFile('myConfigureFile.xml','10.10.10.15','myModel')

Input Arguments

collapse all

Provides the XML file name for the configuration file.

Example: 'myConfigureFile.xml'

Provides the IP address of the target computer.

Example: '10.10.10.15'

Provides the path to the real-time application MLDATX file.

Example: 'myModel'

Version History

Introduced in R2021b