What is the 'MeasurementFcn1Inputs' input on the Extended Kalman Filter Simulink block?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Bill Tubbs
el 5 de Abr. de 2021
Respondida: Bill Tubbs
el 5 de Abr. de 2021
I'm trying to implement an Extended Kalman Filter Simulink block similar to the example shown for the inverted pendulum here which looks like this and works:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/573332/image.png)
However, when I copy and edit this block, or when I try to recreate one from a new block, it adds a third input called 'MeasurementFcn1Inputs':
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/573337/image.png)
What is this? Should it be there or how do I remove it? (I only have one set of measurements and did not specify 'MeasurementFcn1Inputs').
Here are the properties of my block:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/573342/image.png)
When I click 'Remove Measurement' it reports a warning in the dialog box:
7015/homeworks/hw5/SwingupControlOfPendulumUsingNMPCExample/mpc_pendcartNMPC.slx. The file higher on the MATLAB path is: /Applications/MATLAB_R2019b.app/examples/mpc/mpc_pendcartNMPC.slx
Component:Simulink | Category:Block diagram warning
If I click 'Add Measurement' it adds a fourth input called 'y2'.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/573347/image.png)
If I then click 'Remove Measurement' twice it removes the 'y2' measurement then reports the following in the diagnostics window:
At least one measurement model is required in robot_nmpc_sim/State Estimator (EKF).
At least one measurement model is required in robot_nmpc_sim/State Estimator (EKF).
This behaviour is repeatable (with a new EKF block or by copying and pasting the one from the Pendulum example and editing it).
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Online Estimation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!