Azzera filtri
Azzera filtri

Distinguish MATLAB Library & Custom Library

4 visualizzazioni (ultimi 30 giorni)
Chaitanya Kulkarni
Chaitanya Kulkarni il 20 Set 2018
Risposto: TAB il 21 Set 2018
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 Commento
KALYAN ACHARJYA
KALYAN ACHARJYA il 20 Set 2018
A custom library you have to add, whereas Matlab inbuilt doesn't require that.

Accedi per commentare.

Risposta accettata

TAB
TAB il 21 Set 2018
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.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by