matlab - What's the relationship between the time step size of an individuell block and that of the system? -


as know, level 2 matlab s function has command accquire next hit time block like:

block.nexttimehit = block.currenttime + deltat; 

what's relationship between time step size of individuell block , of system. mean happen, if system has larger sample time step block has? in opinion, solver never let happen, because solver detect block.nexttimehit every block every iteration , make sure current system.nexttimehit smaller every block.nexttimehit. there no sample blocks missed.

you won't miss required sample times. when using fixed step solver, simulink checks blocks allow fixed-step size used, , if not throw error. when using variable step solver (required in situation ask about) simulink guarantees take time step @ required time.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -