Testing on Targets in Polyspace Platform User Interface
R2026bTo execute tests on a target, you must register the target using a custom registration file that describes your target including board, processor, toolchain, and communication interface. After this one-time registration, you can select this target in your project configuration, and then build and run tests on the target using the same steps as you would follow when executing tests on your host computer.
Polyspace Options
Target board name (Testing) | Specify the target board that you run your test executable on |
Processor | Select the processor for the current build configuration |
Compilation toolchain (Testing) | Specify the compiler that you use to build your source code and tests for dynamic testing |
Tools
| Polyspace Platform Settings | Settings for Polyspace Platform user interface (Since R2023b) |
| Test Case | Author graphical tests in the Polyspace Platform user interface (Since R2023b) |
| Toolchain | Create, validate, and register a custom toolchain for building C/C++ sources and tests (Since R2026a) |
Topics
- Get Started with C/C++ Test Execution on Target
Create your first target registration file, register target, run tests on target, calculate code coverage for on-target execution.
- Run C/C++ Tests on Target in Polyspace Platform User Interface
Register target, build tests for target, run tests on target.
- Calculate C/C++ Code Profiling Metrics on Target in Polyspace Platform User Interface
Calculate code coverage, execution time, and memory use of graphically authored tests on a custom board.
- Create Target Registration Packages for C/C++ Test Execution on Targets
Learn the basic structure of the MATLAB® code file used to register a target in Polyspace® Platform.
- Run and Debug C/C++ Tests on Target Using TRACE32
Run or debug tests on a target using TRACE32, with physical hardware or the Instruction Set Simulator. (Since R2026b)