Error: "Undefined variable 'LibraryBrowser' or class 'LibraryBr​​owser.Sta​n​daloneBr​ow​ser'" after migrating from MATLAB R2014a to R2015b

1 次查看(过去 30 天)
The function that causes the problem is;
function updateLibraryToolboxes()
% Update Simulink Libraries and Matlab toolboxes
rehash toolbox
rehash toolboxcache
lib=LibraryBrowser.StandaloneBrowser;
lib.refreshLibraryBrowser
end
The error message is: Undefined variable “LibraryBrowser” or class “LibraryBrowser.StandaloneBrowser”
This question was asked by Andreas Mueller on 12NOV2015 and answered by Subhadra Mahanti on 8Feb2016; "The above API is deprecated since R2014b".
But I find this answer incomplete. If this API went away after R2014b, what was it replaced with? How do I accomplish this same function in R2015b? Why is this API not needed anymore?
Any help you can give would be greatly appeciated.
Thanks much,
Harvey

回答(1 个)

madhan ravi
madhan ravi 2018-11-20

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by