Applying Model-Based Design to a safety-critical system requires extra consideration and rigor so that the system adheres to defined safety standards. EN 50128, Railway applications - Software for railway control and protection systems, is such a standard.
MathWorks® provides an IEC Certification Kit product that you can use to certify MathWorks code generation and verification tools for projects based on the EN 50128 standard. For more information, see IEC Certification Kit.
If you have a Simulink® Check™ product license, you can check that your Simulink model or subsystem and the code that you generate from it complies with selected aspects of the EN 50128 standard.
To check your model or subsystem:
Open the Model Advisor.
Navigate to By Task > Modeling Standards for EN 50128.
Run the EN 50128 (Simulink Check) checks.
For more information on using the Model Advisor, see Check Your Model Using the Model Advisor.
Typically, applications that require certification require some level of traceability between requirements, models, and corresponding code.
|Associate requirements documents with objects in Simulink models|
The Requirements Management Interface Setup (Simulink Requirements) that is available if you have a Simulink Requirements™ license.
|Trace model blocks and subsystems to generated code|
The Model-to-Code Traceability option when generating an HTML report during the code generation or build process.
|Trace generated code to model blocks and subsystems|
The Code-to-Model Traceability option when generating an HTML report during the code generation or build process.