How to create a large array of interlinked simulink blocks

2 views (last 30 days)
I want to simulate a large (~1000) number of interlinked cells (behavior of one influences behavior of it's neighbor, etc.). The behavior of each cell is time dependent (i.e. one cell is triggered by it's neighbor, but doesn't respond to the next cell over for some time t1 and is not able to be triggered again for some other time t2, etc.). Because of the asynchronous nature of this, I was thinking of event driven simulation. How can I go about creating something like this? I can't imagine actually graphically wiring up 1000-ish cells. Any ideas?
Much appreciated.
Thanks, Rob
  1 Comment
A Jenkins
A Jenkins on 24 Jun 2014
You can programmatically write Simulink models (they are text files underneath afterall), but I'm not sure you really want to.
You might be better off writing it in MATLAB to begin with, or even using a program more suited to this type or programming, such as NetLogo.

Sign in to comment.

Answers (0)

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!