How do i know which Simulink Libraries are used in the Program?

25 visualizaciones (últimos 30 días)
Markus Hoffmann
Markus Hoffmann el 29 de Jun. de 2021
Respondida: Fangjun Jiang el 29 de Jun. de 2021
Hello Community,
As the title says i received a Matlab and a Simulink file. The Problem: i cant run it since some Libraries are missing. How do i know which libraries i have to install?
The Simulink Error is e.g. "Cannot find library called 'Delft_Tyre_dtlib'."
When i run the command: "license('inuse')" i get a List, eg. "power_system_blocks"
both is not very helpful, since neither seems to exist in the add ons Tab.
Thanks in advance.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 29 de Jun. de 2021
license('inuse') tells the "toolboxes" that are used. What you need is libinfo('ModelName').
Most likely, 'Delft_Tyre_dtlib' is a customized library. You will need to ask the source of your Simulink model to provide that library file. Without it, libinfo() may not run or won't return correct result.

Categorías

Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by