From: Prashant Sandhi on 11 Feb 2010 07:23 Dear friends, IS there any way to make a 'pause' or wait for 'one second' during the simulink simulation and then the simulation should start on its own after waiting for 'one second' Sandhi
From: Wayne King on 11 Feb 2010 07:43 "Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message <hl0sr8$msu$1(a)fred.mathworks.com>... > Dear friends, > > IS there any way to make a 'pause' or wait for 'one second' during the simulink simulation and then the simulation should start on its own after waiting for 'one second' > > Sandhi Hi Sandhi, how about using an assertion block from the Model Verification Library? See http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f11-31373.html#f11-31548 for a use case. Wayne
From: Prashant Sandhi on 11 Feb 2010 07:51 Assertion block is used to pause the simulation after a certain time of simulation has been run. But in my case I cannot say after 5 sec of simulation 'pause'. But What I am looking for is when ever I pass through this 'pause' then it should always just 'pause for one sec and then proceed for simulation. "Wayne King" <wmkingty(a)gmail.com> wrote in message <hl0u0o$8ep$1(a)fred.mathworks.com>... > "Prashant Sandhi" <sanddhi7(a)gmail.com> wrote in message <hl0sr8$msu$1(a)fred.mathworks.com>... > > Dear friends, > > > > IS there any way to make a 'pause' or wait for 'one second' during the simulink simulation and then the simulation should start on its own after waiting for 'one second' > > > > Sandhi > > Hi Sandhi, how about using an assertion block from the Model Verification Library? > > See > > http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f11-31373.html#f11-31548 > > for a use case. > > Wayne
From: Eskil Jönsson on 11 Feb 2010 07:59 > IS there any way to make a 'pause' or wait for 'one second' during the simulink simulation and then the simulation should start on its own after waiting for 'one second' > > Sandhi Maybe I am just stupid, but can't you just use pause(1)?
From: Prashant Sandhi on 11 Feb 2010 08:10 No Mr.Jönsson You are not at all 'Stupid '. Do you mean that I should write 'Pause(1)' in the Assertion block under 'Simulation callback when assertion fails'. What should be the clock and constant values? "Eskil Jönsson" <eskil_j(a)hotmail.com> wrote in message <hl0uup$977$1(a)fred.mathworks.com>... > > IS there any way to make a 'pause' or wait for 'one second' during the simulink simulation and then the simulation should start on its own after waiting for 'one second' > > > > Sandhi > > Maybe I am just stupid, but can't you just use pause(1)?
|
Next
|
Last
Pages: 1 2 Prev: linear interpolation on image Next: How can I calculate the hours passed between two times |