How can we read programatically the Alias Data Type of a signal line that get displayed in Information OverLays
4 ビュー (過去 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!