Distinguish MATLAB Library & Custom Library
5 ビュー (過去 30 日間)
古いコメントを表示
How to identify if the library blocks used in the model are coming from MATLAB toolbox library or customized libraries. with 'ReferenceBlock' Command, but there is no common syntax for MATLAB Library.For e.g. fl_lib, Simulink.....
1. Is there any other attribute to differentiate this. 2. If not, anybody has complete list of libraries from all the toolboxes of MATLAB
1 件のコメント
KALYAN ACHARJYA
2018 年 9 月 20 日
A custom library you have to add, whereas Matlab inbuilt doesn't require that.
採用された回答
TAB
2018 年 9 月 21 日
libdata = libinfo(gcb);
libdir = which(libdata(1).Library, '-all');
If libdir have a matlab installation path, then it is Matlab toolbox library.
If libdir is your path where you have saved library (maybe outside matlab installation path) then it is custom library.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!