Unable to Resolve the name uiw.utility.loadIcon.
7 次查看(过去 30 天)
显示 更早的评论
I am trying to run the software Osprey which runs through Matlab. I am following the Osprey documentation and it says to simply run the command "Osprey" and the GUI should pop up so I can analyze some data. However, when I run it, I get the following ouput:
>> Osprey
Timestamp June 16, 2022 11:18:43 Osprey 2.2.0 OspreyGUI
Unable to resolve the name uiw.utility.loadIcon.
Error in Osprey (line 31)
logoBanner = uiw.utility.loadIcon(logoFcn);
I looked into the Osprey code as pointed out in the error (line 31), and this is the code for lines 30 and 31:
logoFcn = @()imread('osprey.png', 'BackgroundColor', gui.colormap.Background);
logoBanner = uiw.utility.loadIcon(logoFcn);
Could someone please help me with this? I have never used Matlab before, so any guidance would be greatly appreciated!
3 个评论
Jessica
2024-11-4
Hello Lucas and Charlotte,
I have exactly the same message coming up on Matlab 2024b and I already install the Widget Toolbox (the new version).
Do you have any more ideas on what could help?
Kind Regards
Jessica
Jessica
2024-11-20
I added the newest widgets one, but had the same issue, When I installed the older Widgets Compatibility Toolbox, it worked. Hope this helps...
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!