Real-Time Workshop    

Running the External Program

The external program must be running before you can use Simulink in external mode. To run the external program, you type a command of the form

where model is the name of the external program and -opt1 ... -optN are options. (See Command Line Options for the External Program). In the examples in this section, we assume the name of the external program to be ext_example.

Running the External Program Under Windows

In the Windows environment, you can run the external programs in either of the following ways:

Running the External Program Under UNIX

In the UNIX environment, you can run the external programs in either of the following ways:

Command Line Options for the External Program

External mode target executables generated by Real-Time Workshop support the following command line options:


  External Mode Compatible Targets Error Conditions