How can we read programatically the Alias Data Type of a signal line that get displayed in Information OverLays
2 次查看(过去 30 天)
显示 更早的评论
How can we read programatically the Alias Data Type of a signal line that get displayed in Information OverLays
0 个评论
采纳的回答
praguna manvi
2024-8-30
Hi @Annu
To access “aliasDataType” on the signal-line, you could use “get_param” function on the specific block connected in the signal, following example illustrates using “vdp” model:
```
vdp([], [], [], 'compile');
d = get_param('vdp/Product','CompiledPortDataTypes');
vdp([], [], [], 'term');
disp(d. Inport{1});
```
For information on programmatic access of other properties refer: https://www.mathworks.com/help/simulink/slref/common-block-parameters.html
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!