How to get requirement traceability info from Simulink data dictionary signal
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Manage Design Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!