Main Content

Generated Code Tests

Run tests for integrated code, C code, and code from previous releases

You can create and run tests to verify generated code, hand-written code, as well code generated in a previous release. You can also use the MATLAB Unit Test framework to test models and code.


sltest.CodeImporterImport C or C++ code into Simulink for testing (Since R2021a)
sltest.CodeImporter.SandboxSettingsSandbox settings for C code testing (Since R2021a)
createSandboxCreate sandbox for C code unit testing (Since R2021a)