Measurement Covariance Matrix must be non-empty

1 view (last 30 days)
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 Comment
Ayush
Ayush on 14 Aug 2023
It would be beneficial for us if you share your model so that we can analyze it.

Sign in to comment.

Accepted Answer

Maneet Kaur Bagga
Maneet Kaur Bagga on 31 Aug 2023
Edited: Maneet Kaur Bagga on 31 Aug 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

More Answers (0)

Categories

Find more on Get Started with Aerospace Blockset in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!