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

1 回表示 (過去 30 日間)
Harvey Ogden
Harvey Ogden 2018 年 11 月 20 日
回答済み: madhan ravi 2018 年 11 月 20 日
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 Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by