MATLAB Answers

0

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,,,

  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

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

PG
on 29 Nov 2012

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


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!