Change real-time application sample time
Enter the value returned by the function xPCOpenTcpIpPort.
Sample time for the real-time application.
xPCSetSampleTime function sets the sample
time, in seconds, of the real-time application to
Use this function only when the application is stopped.
Some blocks produce incorrect results when you change their sample time at run time. If you include such blocks in your model, the software displays a warning message during model build. To avoid incorrect results, change the sample time in the original model, and then rebuild and download the model.