Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

i need a block for save a value for comparison with itself in during simulation 1

Status
Not open for further replies.

JavadM

Mechanical
Joined
Apr 29, 2008
Messages
119
Location
US
Hello all.
i am new to matlab and simulink. i want to sample a variable at the time and as the solution progresses compare new value to the older one.
is any block for that?



thanks
matlab and simulink 2015a
 
You can use the Memory block to delay the time step by 1 time step. You can then compare in many ways.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top