how to use previous value in simulink? [(k-1) value]
Show older comments
Currently, I am designing filtered velocity of the two wheel balancing robot, using encoder, and accelerometer, using following 2 equation.

I am trying to use MATLAB function block in simulink, which is the following picture.


But there is an error which says that I can't use direct feedback..
Can somebody help me with this problem?
1 Comment
Govind KM
on 5 Jun 2023
Could you share the exact error message?
Accepted Answer
More Answers (0)
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!