How to get requirement traceability info from Simulink data dictionary signal

1 回表示 (過去 30 日間)
Arshad Shaik
Arshad Shaik 2020 年 5 月 16 日
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 件)

カテゴリ

Help Center および File ExchangeManage Design Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by