This block generate a single pulse whenever a trigger happen. The pulse width must specified as a number of samples. for example if your sampling time is 0.1s and you want 3s pulse , then you should enter 30 as a pulse width.
ammar al jodah (2020). Triggered single pulse Generator (https://www.mathworks.com/matlabcentral/fileexchange/43043-triggered-single-pulse-generator), MATLAB Central File Exchange. Retrieved .