Modify Experiment Sample Time After Deployment
The Sample time (Ts) parameter is not tunable. As a consequence, you cannot access it
directly in generated code when you deploy the block. To change the controller sample
time in the deployed block at run time:
(^1) Set Controller sample time (sec) to –1.
(^2) Put the block in a Triggered Subsystem.
(^3) Trigger the subsystem at the desired sample time.
If you use this approach, you must make sure at run time that your sample time is fast
enough to keep your estimation frequencies below the Nyquist frequency.
See Also
Frequency Response Estimator
More About
- “Online Frequency Response Estimation Basics” on page 6-2
- “Online Estimation Using Plant Modeled in Simulink” on page 6-6
- “Collect Frequency Response Experiment Data for Offline Estimation” on page 6-23
6 Online Frequency Response Estimation