rtw.connectivity.Launcher
Control downloading, starting, and resetting of a target application
Description
 The rtw.connectivity.Launcher class, which runs on your
            development computer, controls execution of an application on the target
            processor.
Creation
Description
rtw.connectivity.Launcher(componentArgs) controls the
                    download, start, and reset of an application, for example, a PIL
                    application.
Make a subclass and implement the startApplication and
                        stopApplication methods.
You can implement a destructor method that cleans up resources (for example, a handle to a third-party download tool) when the object is cleared from memory.
Object Functions
| Function | Description | 
|---|---|
| getComponentArgs | 
 | 
| setExe | setExe(exe)specifies the application that runs on
                            the target processor. | 
| getExe | exe=getExe()returns the application that is
                            running on the target processor. | 
| startApplication | 
 MATLAB or Simulink calls the  exe = getExe() The
                                     | 
| stopApplication | 
 Called by MATLAB to stop execution of the target application. | 
| getApplicationStatus | 
 Called by MATLAB or Simulink to detect the current status of the target application. The expected return values are: 
 
 If you do not implement the method, the
                                default return value is
                                     | 
| getBuilder | builder = obj.getBuilderreturns thertw.connectivity.Builderobject associated with
                            the launcher object. | 
Examples
Using rtw.connectivity.Launcher in PIL Connectivity
For an example that shows how to use this object in setting up PIL connectivity, see:
Version History
Introduced in R2008b