| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
MATLAB command line
xpctest
xpctest('target_name')
xpctest('-noreboot')
xpctest('noreboot')
xpctest('target_name', 'noreboot')
xpctest('target_name', '-noreboot')'target_name' | Name of target PC to test. |
'noreboot' | Only one possible option. Skips the reboot test. Use this option if the target hardware does not support software rebooting. Value is 'noreboot' or '-noreboot'. |
xpctest is a series of xPC Target tests to check the correct functioning of the following xPC Target tasks:
Initiate communication between the host and target computers.
Reboot the target PC to reset the target environment.
Build a target application on the host PC.
Download a target application to the target PC.
Check communication between the host and target computers using commands.
Execute a target application.
Compare the results of a simulation and the target application run.
xpctest('noreboot') or xpctest('-noreboot') skips the reboot test on the default target PC. Use this option if target hardware does not support software rebooting.
xpctest('target_name') runs the tests on the target PC identified by 'target_name'.
xpctest('target_name', 'reboot') or xpctest('target_name', '-reboot') runs the tests on the target PC identified by 'target_name', but skips the reboot test.
If the target hardware does not support software rebooting, or to skip the reboot test, in the MATLAB window, type
xpctest('-noreboot')To run xpctest on a specified target PC, for example TargetPC1, type
xpctest('TargetPC1')Procedures Testing and Troubleshooting the Installation and Test 1, Ping Target System Standard Ping
![]() | xpctargetspy | xpcwwwenable | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |