The release notes for xPC Target 2.5 (R14) mention the following with regards to xPC Scope blocks:
Scopes created by xPC Target Scope blocks now acquire data according to Simulink sample time rules. In previous releases, scopes created by xPC Target Scope blocks acquired data at the base sample rate of the model, regardless of the sample time of their input signal. This includes non-regular execution, such as if the scope is in an enabled or triggered subsystem. Note that Scopes created dynamically from the MATLAB Command Window behave as before.
However, I am using xPC Scope block using C-API, and would like to know if the sampling would be at the base rate of the Simulink model or if the above mentioned enhancement would apply here too.
Best Answer