How to create a parameter dependent simscape model

I am studying closed chains of dynamic oscillators as below
bob.png
I already created the Simscape model for one oscillator, but if I want to modfy the density of oscillators, I add or remove some blocks to represent these.
Is there a way to create a parameter-dependent Simscape model, which will sort of replicate the amount of oscillators depending on a parameter in the workspace ?

Réponses (0)

Produits

Version

R2018b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by