Skip to Main Content Skip to Search
Product Documentation

Run Test Cases and Procedures for Embedded Coder

To execute the test cases and procedures for Embedded Coder:

  1. Copy the matlabroot/toolbox/qualkits/iec/ecoder/r2012a folder and its subfolders to a location to which you have write access. Use that location to run the test cases and procedures.

      Note  

      • To execute the test procedure, you must have an Embedded Coder license.

      • Some test models require Stateflow® and Simulink licenses.

  2. Open the file certkitiec_ecoder_modelList.m in the relocated folder.

  3. Edit the file to specify the test cases (that is, test models and supporting files) that you want to execute. Check that the models and files that you specify exist in their specified locations in the /tests subfolder.

  4. Optionally, edit the file to specify baselines corresponding to the tests. Check that the baselines that you specify exist in the /baselines subfolder.

  5. Save the file.

  6. To run the tests and generate a validation report, execute the file certkitiec_ecoder_tests.m. You can invoke it from the MATLAB® command line or in the Certification Artifacts Explorer. Test reports are generated in HTML format and are placed in the outputs subfolder.

  7. Review the generated test reports for expected results.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS