How Simulink handles calls to discrete blocks
2 ビュー (過去 30 日間)
I have a Simulink model which includes a Matlab System Block for which I have defined a discrete sample time following this guide.
Indeed, if in Simulink I enable the sample time information (from Debug/Information Overlays panel), I see that the output signals are characterized by that sample time.
Instead, as inputs to this block I have signals with different sample times or multirate.
I am simulating with a ode45 Variable-Step solver.
Let's denote with the simulation end time. The initial time is 0.
If I run the Simulink profiler I see that this Matlab System Block, characerized by a sample time , gets called n times.
Though, I notice that . What I see is that .
Could you help me understand why?