Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

Determining the Compiled Sample Time of a Block

During the compilation phase of a simulation, Simulink determines the sample time of a block from its SampleTime parameter (if it has an explicit sample time), its block type (if it has an implicit sample time), or by its context within the model. This compiled sample time determines the sample rate of a block during simulation. You can determine the compiled sample time of any block in a model by first updating the model and then getting the block CompiledSampleTime parameter, using the get_param command.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS