Represent application files on development computer
An application object represents application files on the development computer. You can create application objects for real-time applications that you build from models.
An application object provides access to methods and properties that let you work with the application blocks and signals.
creates an object that you can use to manipulate real-time
application files on the
development computer. You can create it only after the real-time
application has been built.app_object
= slrealtime.Application(application_name
)
The slrealtime.Application
function accepts these arguments:
application_name
— Name of real-time
application (character
vector or string scalar). For example,
'slrt_ex_osc_inport'
.
This argument is the file name without the .mldatx
file
extension of the MLDATX file that the build produces on the development
computer.
app_object
— Represent real-time
application files on the
development computer.
This argument provides access to methods that manipulate the real-time application files.
Create an application object for real-time application
slrt_ex_osc_inport
.
app_object = slrealtime.Application('slrt_ex_osc_inport');
Example: Extract ASAP2 File
Example: Update Root-Level Inport Data
Example: Get and Set Application Options
extractASAP2 | Extract generated A2L file from real-time application file |
getInformation | Get real-time application information |
getParameters | Get real-time application parameters |
getSignals | Get real-time application signals |
updateRootLevelInportData | Replace external input data in real-time application with input data |
extractASAP2
| getInformation
| getParameters
| getSignals
| updateRootLevelInportData