Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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
Apr 29, 2008
119
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
 
Replies continue below

Recommended for you

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