SIL/PIL Execution Support and Limitations
| Feature | Supported | |
|---|---|---|
| Output types | Static library | Yes |
| Dynamic library | Yes | |
| Executable | No | |
| Languages | C | Yes |
| C++ | Yes | |
| Interface types | Inputs | Yes |
| Outputs | Yes | |
| Constant inputs | Yes | |
| Global data | Yes. SIL and PIL execution supports four types of storage classes for MATLAB® Coder™ global variables. The synchronization of global data between MATLAB and the SIL or PIL application depends on the type of storage class that you specify:
| |
| Constant global data | Yes | |
| Reentrant code | Yes | |
| Multiple entry points | Yes | |
| Data types | Basic types | Yes |
| Enumerated types | Yes | |
| Structures | Yes | |
| Complex data | Yes | |
| Fixed-point data | Yes | |
| Multiword fixed-point data | SIL only | |
char arrays | Yes | |
| Empty values | Yes | |
| Cell arrays | Yes | |
| Size | Scalars | Yes |
| Fixed-size arrays | Yes | |
| Static variable-size arrays | Yes | |
| Dynamic variable-size size arrays | Yes | |