How to get requirement traceability info from Simulink data dictionary signal
1 次查看(过去 30 天)
显示 更早的评论
Consider the below code used to get the information on various properties of simulink signal:
sldemo_fuelsys_dd_controller
>> dictObj = Simulink.data.dictionary.open('sldemo_fuelsys_dd_controller.sldd');
>> DesignData = getSection(dictObj, 'Design Data');
>> allEntries = find(DesignData);
>> get_param(allEntries)
>> allEntries(10)
ans =
Entry with properties:
Name: 'PressVect'
Value: [1x1 Simulink.Parameter]
DataSource: 'sldemo_fuelsys_dd_controller.sldd'
LastModified: '2015-Dec-16 23:09:37.904147'
LastModifiedBy: 'joeyasi'
Status: 'Unchanged'
Query: Similarly as above, how to get the information on 'User Tag' property from 'Requirements' tab from 'Requirement Traceability' associated with SImulink signal?
I would like to retrieve information programmatically equivalent to the steps as I perform in matlab environment.
Right Click ->PressVect
Select 'Requirement Traceability'
Select 'Link Editor'
Select 'Requirements' tab
Know info from 'User Tag'
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Design Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!