MATLAB Answers


How to put Delay in simulink blocks

I want add two constants values (1:1:100)one after other and display one by one,, with some delay,,,


Log in to comment.



2 Answers

Answer by Azzi Abdelmalek
on 29 Nov 2012
Edited by Azzi Abdelmalek
on 29 Nov 2012
 Accepted Answer

If you are runing your simulink model in a normal mode, the execution will be done almost instantly, you need to run your model in real time, which will require a RTW toolbox, you also can do it by adding an Interpreted Matlab unction block (Formerly named Matlab function) and insert Pause command, The unit delay block also is required


Log in to comment.

Answer by PG
on 29 Nov 2012

You can use unit delay block.

Hope it helps!!


its not working,,,any solver settings i have to do

Did you tried Tapped Delay block?

No its not working out,,I dont want to add anything to my present value,it has to just stop for little time then it shud display

Log in to comment.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!