フィルターのクリア

How to get 'Data before' and 'Data After' from current data?

4 ビュー (過去 30 日間)
SyukriY
SyukriY 2016 年 10 月 17 日
コメント済み: SyukriY 2016 年 10 月 26 日
Dear all fellow community,
I'm curious about Matlab can read the 'dataBefore' and 'dataAfter' from .mat file with the current data display. I've tried many ways to get the data before and after. The data before and after will be used in the calculation in the 'MATLAB FunctionFever' block. Has anyone done this before?
The picture shows the Simulink block diagram of my work. As you can see in the 'simulation stop time', if I insert the value of 24, the display will display the data that has been stored in sensor1.mat at time=24.
Here is the beginning code that I can do to call the data before and after.
function bbtData = detection(t)
bbtData = t;
end
For more info here I attach my work.
I hope for anyone to assist me in this problem. Thank you.
%

採用された回答

Walter Roberson
Walter Roberson 2016 年 10 月 17 日
Delayline with 3 outputs and 1 input.
  8 件のコメント
Walter Roberson
Walter Roberson 2016 年 10 月 26 日
Here is a versions compatible back to R2014b
SyukriY
SyukriY 2016 年 10 月 26 日
Thanks a lot Walter for helping me.
I'll study your example and let you know you about my project.
Thanks again.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSignal Import and Export についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by