In an effort to facilitate a faster, more efficient system
development workflow, MathWorks has
Coder, a tool that lets design engineers automatically generate readable
and portable C or C++ code directly from their MATLAB algorithms.
Click here for larger image.
"The difference with manual translation or recoding is that you have two versions of the program-one on MATLAB and another in C++," he explains. "As engineers make refinements, they can get out of sync with each other. In addition, iterations can be quite time consuming and expensive since problems are discovered later in the process when bugs are harder to fix."
MATLAB Coder will aid in tasks where translation is critical, including the creation of reusable libraries, real-time prototyping for creating a standalone executable, to accelerate algorithms to implement code for embedded processors. The tool supports MEX function generation for fixed-point and floating-point math in addition to an extensive set of MATLAB language features for algorithm development, including built-in matrix math operators and dynamic array handling.
MathWorks also used the MATLAB Coder announcement to consolidate some of its other code generation offerings. Simulink Coder combines capabilities previously available in multiple MathWorks offerings, and Embedded Coder offers full code generation support for rapid prototyping, real-time testing and production of embedded systems, including links to embedded development environments.
In separate news, MathWorks announced that TUV SUD certified Simulink Design Verifier and Simulink Verification and Validation for use in ISO 26262 compliant development processes. The organization specializes in independent assessments and certifications and this latest one will help automotive engineers developing high-integrity embedded systems establish the required confidence in the proper functioning of these verification tools according to their use cases.