Distinguish MATLAB Library & Custom Library

조회 수: 11 (최근 30일)
Chaitanya Kulkarni
Chaitanya Kulkarni 2018년 9월 20일
답변: TAB 2018년 9월 21일
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
KALYAN ACHARJYA 2018년 9월 20일
A custom library you have to add, whereas Matlab inbuilt doesn't require that.

댓글을 달려면 로그인하십시오.

채택된 답변

TAB
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개)

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

태그

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by