MATLAB Function "on-line" computation

1 次查看(过去 30 天)
Hello everyone!
Many weeks ago I've tried to post the question about my problem, but it still unanswered, maybe because of formulations, so I decide to make the question as simple as it can be. Here it is:
Is there a way to make the calculations in matlab function something like "on-line"? This is what i mean: the input in MATLAB function changes relatively to normal value. So, MF block do some computations(to do this pretty simple MF squares the time moment, when the input signal was changed and transfer this value to the output).
If the value of input signal changed second time, MF block do the same, and so on.
The problem is how to do this. I tried many times, but did'nt get anywhere. Maybe it can't be done with MATLAB function block, so I want to know how it can be done.
If anyone can help me with this problem, it will be great.
Thanks in advance!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Array and Matrix Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by