Testing on Targets in Polyspace Platform User Interface
R2026bRegister target in user interface, build and run test on target
To 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
Test Execution on Target Hardware
- 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.
Test Execution and Debugging on Targets Using TRACE32 Probes
- Adapt Polyspace Test Target Package for TRACE32 Instruction Set Simulator
Adapt an existing target registration package to use the Lauterbach TRACE32 Instruction Set Simulator (ISS) for debugging without physical target hardware. - Create Polyspace Test Target Registration Package for TRACE32 Debugging on Physical Hardware
Run or debug tests on physical target hardware using TRACE32 FDX (Fast Data Exchange) for host-target communication.