MATLAB: What Real-Time Operating Systems (RTOS) does Embedded Coder support

Embedded Codersimulinksimulink coderStateflow Coder

I would like to know what Real-Time Operating Systems Embedded Coder supports.

Best Answer

Embedded Coder generates ANSI/ISO C/C++ code and thus supports all RTOS (Real-Time Operating System) that support C/C++ compilers. If portable ANSI/ISO C/C++ that can be called by any scheduler is not sufficient, Embedded Coder has a variety of options and features that end users can leverage to generate target specific code for their particular RTOS environment. A sample of these options and features are listed below.
Processor Optimized Math Libraries using Target Function Libraries:
Device Driver Integration:
Remove floating-point code from integer-only applications:
Legacy Code Integration using Legacy Code Tool:
MathWorks site contains several examples that may also be relevant to your needs:
In addition to ANSI C/C++ code generation and target customization options mentioned above, MathWorks and third party link and target products offer built-in integration support for several target, compiler, and RTOS combinations. These products provide device driver blocks, target optimized code, build environment automation, Processor-in-Loop testing, and other features.
You can find a listing of the specific hardware, MathWorks Link and Target products, and third-party Link and Target products on the following webpage:
MathWorks consulting and a number of third parties service providers are able to create custom solutions for your target environment needs.
Finally, Embedded Coder includes demos that generate code for a particular RTOS. These demos serve as examples of the customization options and features mentioned above for end users to create custom solutions for their RTOS. The demos include VxWorks from Wind River Systems and a generic OSEK/VDX implementation.