header files from simulink data dictionary
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (1)
Fangjun Jiang
el 28 de Ag. de 2023
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');
0 comentarios
Ver también
Categorías
Más información sobre Manage Design Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!