How can we read programatically the Alias Data Type of a signal line that get displayed in Information OverLays
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Annu
le 30 Août 2024
Réponse apportée : praguna manvi
le 30 Août 2024
How can we read programatically the Alias Data Type of a signal line that get displayed in Information OverLays
0 commentaires
Réponse acceptée
praguna manvi
le 30 Août 2024
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!