Lower sample rate normally issues a warning not error.
t = linspace(0,300)
Above command generates 100 sample points between 0 to 300.
However, Lsim might recommend using higher sample rate.
Please refer to the following document, it might help you
https://in.mathworks.com/help/control/ref/lti.lsim.html