How to programmatically modify simulink.signal object in sldd
15 次查看(过去 30 天)
显示 更早的评论
Hi,
I am trying to modify datatype of exisiting simulink.signal object programmatically. I am unable to get simulink.signal object using the following code.
ddName = 'MySldd.sldd';
dicObj = Simulink.data.dictionary.open(ddName);
secObj = getSection(dicObj,'Design Data');
foundEntries = find(secObj,'-isa','Simulink.Signal');
foundEntries is returning 0.
even if I run the following code I get all the parameter object but not the signal object.
foundEntries = find(secObj)
How to acces datatype of simulink.signal object and modify it?
0 个评论
采纳的回答
Sudhakar Shinde
2020-9-24
编辑:Sudhakar Shinde
2020-9-24
ddName = 'MySldd.sldd';
dicObj = Simulink.data.dictionary.open(ddName);
secObj = getSection(dicObj,'Design Data');
SigEntries = find(secObj,'-value','-class','Simulink.Signal')
更多回答(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!