Info
此问题已关闭。 请重新打开它进行编辑或回答。
Trying to implement a feature in Simulink (Help)
2 次查看(过去 30 天)
显示 更早的评论
I have a Simulink diagram that controls a motor using state feedback control
One of the measurement devices is a gyro that has a tendency to change bias often.
Currently I have a predefined "bias" that eliminates the bias. The issue is that this number changes every time I start the test.
I want to implement a feature in my Simulink diagram that (for only the first 1 second) reads the gyro value and sets that as the bias to use for the rest of the time.
This way the bias automatically redefines at the start of every test.
Thanks.
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!