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

1 view (last 30 days)
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

Answers (1)

madhan ravi
madhan ravi on 20 Nov 2018

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!