MATLAB: Simulink doubt

simulink question

Guys is there anyway of doing an operation in simulink one second after it has begun?

Best Answer

Put your system in 'Enabled Subsystem' and enable it after 1 sec using a unit delay block. Someting like this
Here 'Initial Condition' of unit delay block is 0, so till 1st sample time (1 Sec) its output will be 0 disabling the subsystem.
From 1 sec onwords its output will be 1 which will enable the subsystem.