header files from simulink data dictionary

Hi,
I have to get the header files from simulink buses stored in sldd file. Anyone has an idea how to do it?
Thank you
Regards

Risposte (1)

Use Simulink Data Dictionary API, open the SLDD, get the bus object, get the "headfile" property
myDictionaryObj = Simulink.data.dictionary.open('myDictionary_ex_API.sldd');
dDataSectObj = getSection(myDictionaryObj,'Design Data');
fuelFlowObj = getEntry(dDataSectObj,'fuelFlow');

Categorie

Scopri di più su Manage Design Data in Centro assistenza e File Exchange

Prodotti

Release

R2022b

Richiesto:

il 28 Ago 2023

Risposto:

il 28 Ago 2023

Community Treasure Hunt

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

Start Hunting!

Translated by