Skip to Main Content Skip to Search
Home |   Australia  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Real-Time Workshop Embedded CoderĀ 5.2

Product Description

Verifying and Documenting Your Code

Real-Time Workshop Embedded Coder offers several capabilities for verifying your generated code. These include:

  • Ability to import generated code back into Simulink as an S-function for software-in-the-loop testing with a plant model
  • User-controlled comments and descriptions to improve code readability and traceability
  • Support for including requirements in the generated code
  • Persistent identifier names to minimize code differences between model revisions

Real-Time Workshop Embedded Coder documents the generated code in an HTML report that comprehensively describes the code modules and model configuration settings applied during code generation. The report includes a summary section and a table of generated source files, annotated with hyperlinks. When viewed in the MATLAB Help browser, these hyperlinks cause the corresponding blocks to be highlighted in the associated Simulink model, making the code easy to trace and review. You can also highlight the code from the blocks for bidirectional tracing. Automated HTML report generation keeps documentation up to date with your code.

Model and code demonstrating the predefined custom storage classes provided with Real-Time Workshop Embedded Coder. The generated code uses bitfields for the comparison logic in the model as defined by custom storage classes, improving code efficiency. Click on image to see enlarged view.
Model and code demonstrating ISO C target math extensions and reusable function optimizations. Real-Time Workshop Embedded Coder improves code efficiency by using target-specific and portable code optimizations. Click on image to see enlarged view.
Code samples showing blocks folded into the switch block operation, increasing CPU throughput. Expression folding occurs for scalar and element-wise vector operations. Click on image to see enlarged view.
Contact sales
Free technical kit
Trial software
E-mail this page

Get Pricing and
Licensing Options

Upcoming Webinar

Best Practices for Verification, Validation, and Test in Model-Based Design new