Azzera filtri
Azzera filtri

Measurement Covariance Matrix must be non-empty

1 visualizzazione (ultimi 30 giorni)
Hi,
I am currently using the EKF block for one of my simulations. As soon as I start the simulation, it shows an error as shown below:
I have double checked my R matrix and it contains values but for some reason EKF block is throwing an error saying it is empty.
A quick Internet search regarding this issue returned nothing.
Any guidance on this would be helpful
Thanks,
Suraj
  1 Commento
Ayush
Ayush il 14 Ago 2023
It would be beneficial for us if you share your model so that we can analyze it.

Accedi per commentare.

Risposta accettata

Maneet Kaur Bagga
Maneet Kaur Bagga il 31 Ago 2023
Modificato: Maneet Kaur Bagga il 31 Ago 2023
As mentioned in the above problem I understand that the R matrix is not empty while running the EKF Block for the simulation. The issue might be encountered due to the license and hence you can check using the below code:
% Check if Control System Toolbox is licensed
if license('test', 'Control_System_Toolbox')
disp('Control System Toolbox is licensed.')
else
disp('Control System Toolbox is not licensed.')
end
Also, you can refer to MATLAB answers addressing the similar queries using the following links:
Thank You!
Maneet Bagga

Più risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by