Configure model block in simscape
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I'm using simscape multibody for modeling some mechanisms, and I'd like to create some library blocks, whose configurations parameters would allow to change the number of istance of some subblocks. Does it exist any way for realizing it? It looks Simulink is more static than scripting, and I don't know exactly how to proceed with.
Cheers,
Soldà Enrico
0 Commenti
Risposte (1)
Aquatris
il 24 Ott 2024
Modificato: Aquatris
il 24 Ott 2024
In simulink you can create masked systems with parameters and attach a callback to those parameters. So in the callback you can add however many blocks to the model and make the necessary connections. Not a straightforward thing unless you created simulink models from script before.
0 Commenti
Vedere anche
Categorie
Scopri di più su Simulation and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!