Copy simulink block programmatically

43 Ansichten (letzte 30 Tage)
Cedric Kotitschke
Cedric Kotitschke am 19 Jul. 2023
Beantwortet: Angelo Yeo am 20 Jul. 2023
Hey,
I have a very simple problem for which I am not able to find an answer.
How exactly do I copy a block in Simulink programmatically? So basically ctrl+c, ctrl+v but programmatically?
add_block alone is not enough as I want all the settings to be the same.
Thanks!

Antworten (1)

Angelo Yeo
Angelo Yeo am 20 Jul. 2023
It's always better when you provide a sample models and explain what you want to do with them.

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by