Use getparam to get value from bus signal

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!

 Akzeptierte Antwort

kei hin
kei hin am 30 Aug. 2023

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2017b

Gefragt:

am 28 Aug. 2023

Beantwortet:

am 30 Aug. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by