How to use the Simulink Realtime Workshop?

We use a Simulink Realtime Workshop's Build. So we use this make the file *.sdf. If we send this file to system, it record the Digital value. so it calculates using my function. this value has some steps. we wanna know previous step of this digital value from AD(analog to digital) system. And wanna use this previous step's value. example, input x, output y and Time t. x is analog to digital from system. y is digital to analog to system. function is y=x(t)+x(t-1). thus, current step's value x(t) plus previous step's value x(t-1) then its value is output signal. but we don't know how to using the previous step's value x(t-1) at simmulink. what kind of a block we use to? my english is some terrible. but i need some feedback.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2011년 10월 17일

0 개 추천

It looks like you need the Unit Delay block.

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

질문:

2011년 10월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by