0

I am trying to identify which signals are selected by a bus selector block in matlab. In essence I am working on a script that compresses multiple blocks into one single lookup table. In order to do this I need to identify the inputs to all the blocks yet if the input to one of the blocks is a mux of variables then I need to identify the signal after the de-mux (in this case a bus selector).

I have tried get_param(*pathtoblock*,'dialogParameters') yet the output

 OutputSignals: [1x1 struct]
 OutputAsBus: [1x1 struct]
 InputSignals: [1x1 struct]

Holds emtpy cells as shown below

Output signals from bus sel block

Any help is greatly appreciated!

asked Apr 2, 2012 at 15:36

1 Answer 1

1
>> get_param(block, 'OutputSignals')
ans = 
'data,limits,limits.lower_saturation_limit'

gives you a comma separated list of the names of the selected signals. Is this what you need?

answered Apr 4, 2012 at 1:11
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.