Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Subsystem switched in a row ->for iterator subsystem?

6 views
Skip to first unread message

martin Müllinger

unread,
May 21, 2013, 3:37:09 AM5/21/13
to
Hi,
i have a simulink question.

I have a subsystem which is switched in a row (10 times). The output of the previous is the input of the next subsystem. The modell in the subsystem is always the same.
The input of the first one is a from workspace source block.

My problem, when ever i want to change the modell inside the subsystem, i have to change it in every subsytem (i can copy it, but still it is not very convenient).

I tried the for-iterator subsystem, but i am not sure if this is possible, because of the fact, that the input is the output of the previous one.

Any other ideas?

Teresa Hubscher-Younger

unread,
May 22, 2013, 6:51:09 AM5/22/13
to
Hi,

The other idea I had was to use a library block and use the library block for all 10 subsystems. That allows you to update the library block and then push the changes to all the other blocks.

Here is an old Seth and Guy blog on libraries:
http://blogs.mathworks.com/seth/2008/07/18/libraries-in-simulink/

Here is a link to a documentation page that explains more about libraries:
http://www.mathworks.ch/ch/help/simulink/ug/about-block-libraries.html

-Teresa

"martin Müllinger" wrote in message <knf875$p0s$1...@newscl01ah.mathworks.com>...
0 new messages