Measurement Covariance Matrix must be non-empty
1 回表示 (過去 30 日間)
古いコメントを表示
Suraj Parasuram
2023 年 7 月 14 日
編集済み: Maneet Kaur Bagga
2023 年 8 月 31 日
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 件のコメント
Ayush
2023 年 8 月 14 日
It would be beneficial for us if you share your model so that we can analyze it.
採用された回答
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!