Measurement Covariance Matrix must be non-empty
1 次查看(过去 30 天)
显示 更早的评论
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1434523/image.png)
1 个评论
采纳的回答
Maneet Kaur Bagga
2023-8-31
编辑:Maneet Kaur Bagga
2023-8-31
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
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Aerospace Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!