MATLAB Answers

How to put Delay in simulink blocks

Asked by Arun Badigannavar on 29 Nov 2012

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

  0 Comments

Tags

Products

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

  0 Comments


Answer by PG
on 29 Nov 2012

You can use unit delay block.

Hope it helps!!

  3 Comments

Arun Badigannavar on 29 Nov 2012

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

PG
on 29 Nov 2012

Did you tried Tapped Delay block?

Arun Badigannavar on 29 Nov 2012

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today