Why do i receive error as invalid sample time in periodic subsystem(R2012b)?
Show older comments
I am using a periodic subsystem in my simulink model. I am running the model with 50e-6 sample time and i want to run this particular subsystem at 1e-3 sample time. As soon as i change the sampletime of subsystem from '-1' to '1e-3', simulink is throwing the error saying 'Your model has an invalid sample time of 5e-05. Periodic atomic subsystem may contain only blocks that have constant (inf), inherited (-1), or periodic (0.001) sample times'. After this I checked the sample time of each block inside said automic subsystem, every block has '-1' (inherit) sample time. Still I am getting this error. please help.
3 Comments
Birdman
on 7 Mar 2018
Can you share your model?
Swanand Pisat
on 7 Mar 2018
Swanand Pisat
on 7 Mar 2018
Edited: Swanand Pisat
on 7 Mar 2018
Accepted Answer
More Answers (0)
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!