MATLAB: Discrete PID reg. sample time and Solver options

MATLABpid

I want to ask whether the sample times (1 inside the discrete PID governor and the another inside the configuration parameters ->Solver options-> Fixed-Step size) must be the same. I would like to have Solver option sample time: 0.001 but my discrete PID has 0.1. Unfortunately when I run simulation I get an error message and to avoid error I need to decrease my PID sample time to 0.001 but I don't want that.
Is there any other way to solve this out?

Best Answer

Try inserting a rate transition block like the tool says.