| xPC Target™ | ![]() |
MATLAB® command line
xpctest
xpctest('target_name')
xpctest('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'. |
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') 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') 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 | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |