ForEach Subsystem with Parameter Sets

1 view (last 30 days)
Markus
Markus on 3 Sep 2012
I am trying to concatenate a system, but use different parameters for the signle instances. Has anybody a solution for that (apart from transforming the parameters into inport of the ForEach System)?

Answers (2)

Kaustubha Govind
Kaustubha Govind on 4 Sep 2012
Markus: Could you mention which blocks you are using inside the For Each Subsystem that don't allow you to convert your parameters to inputs? Currently, there is no way to parameterize the iterations of the For Each Subsystem, but it might be possible to re-model your system so that you can accomplish what you need.

Markus
Markus on 5 Sep 2012
Thanks for your answer Kaustubha. The concatenated System is quite complex - basically it is a statespace representation of an electrical circuit. The system already has lots of inputs besides the several parameters, so I do not like them to be inputs. I would say that parametrizing the systems by e.g. cells containing parameter sets would be more compact, simple and readable.
I am thinking that this is an obvious requirement for ForEach blocks, therefore I can not really understand why this is not implemented...
  1 Comment
Kaustubha Govind
Kaustubha Govind on 5 Sep 2012
Markus: Would it be okay if I contacted you directly on your email to get further information?

Sign in to comment.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!