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

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

madhan ravi
madhan ravi am 20 Nov. 2018

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by