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

1 vue (au cours des 30 derniers jours)
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

Réponses (1)

madhan ravi
madhan ravi le 20 Nov 2018

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by