Tuning Parameters, Monitoring Signals, and Acquiring Data
xPC Target lets you tune and optimize parameter values before, during, and after real-time execution of models on the target computer using Simulink external mode, xPC Target Explorer, or the MATLAB command-line interface.
Using xPC Target via Simulink External Mode. You can work with xPC Target and the Simulink model (left) to control real-time operation, tune parameters, and view the results directly in Stateflow (middle) and in a Simulink Scope block (top right).
To monitor and acquire data, xPC Target includes scopes for both the host and target computers. Scopes support several trigger modes you can use to control the acquisition, timing, and duration of data collection. You can also display multiple signals in a single scope and attach multiple scopes to a single model.
Signal monitoring enables you to view signal values at the current sample rate. Signal tracing lets you capture, store, and display bursts of data, similar to the behavior of a digital oscilloscope. Signal logging lets you acquire and store signals during the entire test execution. You can then upload the logged data to the host computer for signal display, analysis, or archiving.