Block to set the base sample time that should be used within that program.
Description
This block gives you the opportunity to adjust the base sample time of the program. The smallest supported base sample time is 0.1ms (10 kHz), however this can be made even smaller by reconfiguring the run-time library as explained below. The entered value depends on how many times per second the user want to base sample time through the complete model.
Remarks
(No initialisation block needed)
ParametersReconfiguring the run-time library
The default smallest supported sample time is determined by the tick time of the operating sytem. This can be re-configured through macro configTICK_RATE_HZ in the FreeRTOSConfig.h header-file of the target. Note that changing this macro requires a rebuild of the run-time library. This is achieved by deleting the run-time library file (*.a) of the target and starting the code generation process in Simulink.