Use getparam to get value from bus signal
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Is it possible to use getparam to get signal values from a bus?
for example
getparam(busname, signal1,value)
the function get param only allows 2 arguments, so that doesn't work, but I would like something using this logic
Is it possible? How do I do it?
Thanks!
0 commentaires
Réponse acceptée
kei hin
le 30 Août 2023
I guess you can try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then read the data from workspace.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Sources 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!