Copy simulink block programmatically

51 ビュー (過去 30 日間)
Cedric Kotitschke
Cedric Kotitschke 2023 年 7 月 19 日
回答済み: Angelo Yeo 2023 年 7 月 20 日
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!

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeInteractive Model Editing についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by