I have a model for xPC in which I have different masked subsystems. As they do different tasks, they need to run with different timesteps (some do fast acquisition, others need longer time to run and do communication or other slow tasks). Subsystems trigger each other (start each other - obviously the faster one is in control). How can I define the sampling time of a subsystem (and all components inside)? I'm using fixed step solver. What timestep do I need to set for it? - the shortest one that I use in any subsystem?
Thank you for any suggestion.
-any single core solution out there?
Best Answer